blob: 8d5ff90444445a9ab12649fc50d6ce2182658443 [file] [log] [blame]
Pierre Sassoulasd51110e2021-04-04 21:38:52 +02001[metadata]
2name = pylint
Pierre Sassoulasd460da62021-06-17 09:29:24 +02003version = attr: pylint.__pkginfo__.__version__
Pierre Sassoulas6a950c12021-04-05 00:24:12 +02004description = python code static checker
5long_description = file: README.rst
6long_description_content_type = text/x-rst
Pierre Sassoulas6a950c12021-04-05 00:24:12 +02007author = Python Code Quality Authority
8author_email = code-quality@python.org
Pierre Sassoulas9d959ab2021-04-11 17:54:52 +02009license = GPL-2.0-or-later
Pierre Sassoulase7dae222021-04-05 10:27:01 +020010license_files =
Pierre Sassoulasaf520332021-04-11 15:29:34 +020011 LICENSE
Pierre Sassoulase7dae222021-04-05 10:27:01 +020012 CONTRIBUTORS.txt
Pierre Sassoulasd51110e2021-04-04 21:38:52 +020013classifiers =
14 Development Status :: 6 - Mature
15 Environment :: Console
16 Intended Audience :: Developers
Pierre Sassoulasaf520332021-04-11 15:29:34 +020017 License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Pierre Sassoulasd51110e2021-04-04 21:38:52 +020018 Operating System :: OS Independent
19 Programming Language :: Python
20 Programming Language :: Python :: 3
Pierre Sassoulas6a950c12021-04-05 00:24:12 +020021 Programming Language :: Python :: 3 :: Only
Pierre Sassoulasd51110e2021-04-04 21:38:52 +020022 Programming Language :: Python :: 3.6
23 Programming Language :: Python :: 3.7
24 Programming Language :: Python :: 3.8
25 Programming Language :: Python :: 3.9
Pierre Sassoulasa56b5252021-06-29 20:59:39 +020026 Programming Language :: Python :: 3.10
Pierre Sassoulasd51110e2021-04-04 21:38:52 +020027 Programming Language :: Python :: Implementation :: CPython
28 Programming Language :: Python :: Implementation :: PyPy
29 Topic :: Software Development :: Debuggers
30 Topic :: Software Development :: Quality Assurance
31 Topic :: Software Development :: Testing
Pierre Sassoulas6a950c12021-04-05 00:24:12 +020032keywords = static code analysis linter python lint
33project_urls =
Philipp A92774902021-08-26 09:56:23 +020034 Homepage = https://www.pylint.org/
35 Source Code = https://github.com/PyCQA/pylint
Pierre Sassoulas0ef1ca52021-04-24 15:32:22 +020036 What's New = https://pylint.pycqa.org/en/latest/whatsnew/
Philipp A92774902021-08-26 09:56:23 +020037 Bug Tracker = https://github.com/PyCQA/pylint/issues
38 Discord Server = https://discord.gg/Egy6P8AMB5
Pierre Sassoulas6b218542021-08-30 22:51:47 +020039 Docs: User Guide = https://pylint.pycqa.org/en/latest/
40 Docs: Contributing = https://pylint.pycqa.org/en/latest/development_guide/contribute.html
41 Docs: Technical Reference = https://pylint.pycqa.org/en/latest/technical_reference/index.html
Pierre Sassoulasd51110e2021-04-04 21:38:52 +020042
43[options]
44packages = find:
Pierre Sassoulasd51110e2021-04-04 21:38:52 +020045install_requires =
Marc Muellera3daf442021-08-21 13:39:23 +020046 platformdirs>=2.2.0
Pierre Sassoulas9515c332021-08-30 18:45:24 +020047 astroid>=2.7.3,<2.8 # (You should also upgrade requirements_test_min.txt)
Pierre Sassoulasd51110e2021-04-04 21:38:52 +020048 isort>=4.2.5,<6
49 mccabe>=0.6,<0.7
50 toml>=0.7.1
51 colorama;sys_platform=="win32"
Marc Muellera754d8d2021-08-30 08:33:54 +020052 typing-extensions>=3.10.0;python_version<"3.10"
Pierre Sassoulas6a950c12021-04-05 00:24:12 +020053python_requires = ~=3.6
Pierre Sassoulasd51110e2021-04-04 21:38:52 +020054
Pierre Sassoulasa5300522021-04-05 14:19:08 +020055[options.packages.find]
56include =
57 pylint*
58
Pierre Sassoulasd51110e2021-04-04 21:38:52 +020059[options.entry_points]
60console_scripts =
61 pylint = pylint:run_pylint
62 epylint = pylint:run_epylint
63 pyreverse = pylint:run_pyreverse
64 symilar = pylint:run_symilar
65
Ashley Whetter33b81852019-06-14 22:28:42 -070066[aliases]
67test = pytest
68
69[tool:pytest]
70testpaths = tests
Pierre Sassoulas6a950c12021-04-05 00:24:12 +020071python_files = *test_*.py
72addopts = -m "not acceptance"
Pierre Sassoulas14841442021-04-05 00:14:23 +020073markers =
Pierre Sassoulas6a950c12021-04-05 00:24:12 +020074 acceptance:
75 benchmark: Baseline of pylint performance, if this regress something serious happened
Pierre Sassoulasd5858f62021-04-05 00:19:21 +020076
77[isort]
Pierre Sassoulas6a950c12021-04-05 00:24:12 +020078multi_line_output = 3
79line_length = 88
Pierre Sassoulasad973382021-08-21 10:41:23 +020080known_third_party = platformdirs, astroid, sphinx, isort, pytest, mccabe, six, toml
Pierre Sassoulas6a950c12021-04-05 00:24:12 +020081include_trailing_comma = True
82skip_glob = tests/functional/**,tests/input/**,tests/extensions/data/**,tests/regrtest_data/**,tests/data/**,astroid/**,venv/**
83src_paths = pylint
Marc Mueller897d53d2021-06-14 10:58:51 +020084
85[mypy]
86scripts_are_modules = True
Daniƫl van Noordbaaa81a2021-09-03 13:47:23 +020087warn_unused_ignores = True
Marc Mueller897d53d2021-06-14 10:58:51 +020088
89[mypy-astroid.*]
90ignore_missing_imports = True
91
92[mypy-coverage]
93ignore_missing_imports = True
94
95[mypy-enchant.*]
96ignore_missing_imports = True
97
98[mypy-isort.*]
99ignore_missing_imports = True
100
101[mypy-mccabe]
102ignore_missing_imports = True
103
104[mypy-pytest]
105ignore_missing_imports = True
106
107[mypy-_pytest.*]
108ignore_missing_imports = True
109
110[mypy-setuptools]
111ignore_missing_imports = True
112
113[mypy-_string]
114ignore_missing_imports = True
115
116[mypy-toml.decoder]
117ignore_missing_imports = True