Pierre Sassoulas | d51110e | 2021-04-04 21:38:52 +0200 | [diff] [blame] | 1 | [metadata] |
| 2 | name = pylint |
Pierre Sassoulas | d460da6 | 2021-06-17 09:29:24 +0200 | [diff] [blame] | 3 | version = attr: pylint.__pkginfo__.__version__ |
Pierre Sassoulas | 6a950c1 | 2021-04-05 00:24:12 +0200 | [diff] [blame] | 4 | description = python code static checker |
| 5 | long_description = file: README.rst |
| 6 | long_description_content_type = text/x-rst |
Pierre Sassoulas | 6a950c1 | 2021-04-05 00:24:12 +0200 | [diff] [blame] | 7 | author = Python Code Quality Authority |
| 8 | author_email = code-quality@python.org |
Pierre Sassoulas | 9d959ab | 2021-04-11 17:54:52 +0200 | [diff] [blame] | 9 | license = GPL-2.0-or-later |
Pierre Sassoulas | e7dae22 | 2021-04-05 10:27:01 +0200 | [diff] [blame] | 10 | license_files = |
Pierre Sassoulas | af52033 | 2021-04-11 15:29:34 +0200 | [diff] [blame] | 11 | LICENSE |
Pierre Sassoulas | e7dae22 | 2021-04-05 10:27:01 +0200 | [diff] [blame] | 12 | CONTRIBUTORS.txt |
Pierre Sassoulas | d51110e | 2021-04-04 21:38:52 +0200 | [diff] [blame] | 13 | classifiers = |
| 14 | Development Status :: 6 - Mature |
| 15 | Environment :: Console |
| 16 | Intended Audience :: Developers |
Pierre Sassoulas | af52033 | 2021-04-11 15:29:34 +0200 | [diff] [blame] | 17 | License :: OSI Approved :: GNU General Public License v2 (GPLv2) |
Pierre Sassoulas | d51110e | 2021-04-04 21:38:52 +0200 | [diff] [blame] | 18 | Operating System :: OS Independent |
| 19 | Programming Language :: Python |
| 20 | Programming Language :: Python :: 3 |
Pierre Sassoulas | 6a950c1 | 2021-04-05 00:24:12 +0200 | [diff] [blame] | 21 | Programming Language :: Python :: 3 :: Only |
Pierre Sassoulas | d51110e | 2021-04-04 21:38:52 +0200 | [diff] [blame] | 22 | Programming Language :: Python :: 3.6 |
| 23 | Programming Language :: Python :: 3.7 |
| 24 | Programming Language :: Python :: 3.8 |
| 25 | Programming Language :: Python :: 3.9 |
Pierre Sassoulas | a56b525 | 2021-06-29 20:59:39 +0200 | [diff] [blame] | 26 | Programming Language :: Python :: 3.10 |
Pierre Sassoulas | d51110e | 2021-04-04 21:38:52 +0200 | [diff] [blame] | 27 | 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 Sassoulas | 6a950c1 | 2021-04-05 00:24:12 +0200 | [diff] [blame] | 32 | keywords = static code analysis linter python lint |
| 33 | project_urls = |
Philipp A | 9277490 | 2021-08-26 09:56:23 +0200 | [diff] [blame] | 34 | Homepage = https://www.pylint.org/ |
| 35 | Source Code = https://github.com/PyCQA/pylint |
Pierre Sassoulas | 0ef1ca5 | 2021-04-24 15:32:22 +0200 | [diff] [blame] | 36 | What's New = https://pylint.pycqa.org/en/latest/whatsnew/ |
Philipp A | 9277490 | 2021-08-26 09:56:23 +0200 | [diff] [blame] | 37 | Bug Tracker = https://github.com/PyCQA/pylint/issues |
| 38 | Discord Server = https://discord.gg/Egy6P8AMB5 |
Pierre Sassoulas | 6b21854 | 2021-08-30 22:51:47 +0200 | [diff] [blame] | 39 | 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 Sassoulas | d51110e | 2021-04-04 21:38:52 +0200 | [diff] [blame] | 42 | |
| 43 | [options] |
| 44 | packages = find: |
Pierre Sassoulas | d51110e | 2021-04-04 21:38:52 +0200 | [diff] [blame] | 45 | install_requires = |
Marc Mueller | a3daf44 | 2021-08-21 13:39:23 +0200 | [diff] [blame] | 46 | platformdirs>=2.2.0 |
Pierre Sassoulas | 9515c33 | 2021-08-30 18:45:24 +0200 | [diff] [blame] | 47 | astroid>=2.7.3,<2.8 # (You should also upgrade requirements_test_min.txt) |
Pierre Sassoulas | d51110e | 2021-04-04 21:38:52 +0200 | [diff] [blame] | 48 | isort>=4.2.5,<6 |
| 49 | mccabe>=0.6,<0.7 |
| 50 | toml>=0.7.1 |
| 51 | colorama;sys_platform=="win32" |
Marc Mueller | a754d8d | 2021-08-30 08:33:54 +0200 | [diff] [blame] | 52 | typing-extensions>=3.10.0;python_version<"3.10" |
Pierre Sassoulas | 6a950c1 | 2021-04-05 00:24:12 +0200 | [diff] [blame] | 53 | python_requires = ~=3.6 |
Pierre Sassoulas | d51110e | 2021-04-04 21:38:52 +0200 | [diff] [blame] | 54 | |
Pierre Sassoulas | a530052 | 2021-04-05 14:19:08 +0200 | [diff] [blame] | 55 | [options.packages.find] |
| 56 | include = |
| 57 | pylint* |
| 58 | |
Pierre Sassoulas | d51110e | 2021-04-04 21:38:52 +0200 | [diff] [blame] | 59 | [options.entry_points] |
| 60 | console_scripts = |
| 61 | pylint = pylint:run_pylint |
| 62 | epylint = pylint:run_epylint |
| 63 | pyreverse = pylint:run_pyreverse |
| 64 | symilar = pylint:run_symilar |
| 65 | |
Ashley Whetter | 33b8185 | 2019-06-14 22:28:42 -0700 | [diff] [blame] | 66 | [aliases] |
| 67 | test = pytest |
| 68 | |
| 69 | [tool:pytest] |
| 70 | testpaths = tests |
Pierre Sassoulas | 6a950c1 | 2021-04-05 00:24:12 +0200 | [diff] [blame] | 71 | python_files = *test_*.py |
| 72 | addopts = -m "not acceptance" |
Pierre Sassoulas | 1484144 | 2021-04-05 00:14:23 +0200 | [diff] [blame] | 73 | markers = |
Pierre Sassoulas | 6a950c1 | 2021-04-05 00:24:12 +0200 | [diff] [blame] | 74 | acceptance: |
| 75 | benchmark: Baseline of pylint performance, if this regress something serious happened |
Pierre Sassoulas | d5858f6 | 2021-04-05 00:19:21 +0200 | [diff] [blame] | 76 | |
| 77 | [isort] |
Pierre Sassoulas | 6a950c1 | 2021-04-05 00:24:12 +0200 | [diff] [blame] | 78 | multi_line_output = 3 |
| 79 | line_length = 88 |
Pierre Sassoulas | ad97338 | 2021-08-21 10:41:23 +0200 | [diff] [blame] | 80 | known_third_party = platformdirs, astroid, sphinx, isort, pytest, mccabe, six, toml |
Pierre Sassoulas | 6a950c1 | 2021-04-05 00:24:12 +0200 | [diff] [blame] | 81 | include_trailing_comma = True |
| 82 | skip_glob = tests/functional/**,tests/input/**,tests/extensions/data/**,tests/regrtest_data/**,tests/data/**,astroid/**,venv/** |
| 83 | src_paths = pylint |
Marc Mueller | 897d53d | 2021-06-14 10:58:51 +0200 | [diff] [blame] | 84 | |
| 85 | [mypy] |
| 86 | scripts_are_modules = True |
Daniƫl van Noord | baaa81a | 2021-09-03 13:47:23 +0200 | [diff] [blame] | 87 | warn_unused_ignores = True |
Marc Mueller | 897d53d | 2021-06-14 10:58:51 +0200 | [diff] [blame] | 88 | |
| 89 | [mypy-astroid.*] |
| 90 | ignore_missing_imports = True |
| 91 | |
| 92 | [mypy-coverage] |
| 93 | ignore_missing_imports = True |
| 94 | |
| 95 | [mypy-enchant.*] |
| 96 | ignore_missing_imports = True |
| 97 | |
| 98 | [mypy-isort.*] |
| 99 | ignore_missing_imports = True |
| 100 | |
| 101 | [mypy-mccabe] |
| 102 | ignore_missing_imports = True |
| 103 | |
| 104 | [mypy-pytest] |
| 105 | ignore_missing_imports = True |
| 106 | |
| 107 | [mypy-_pytest.*] |
| 108 | ignore_missing_imports = True |
| 109 | |
| 110 | [mypy-setuptools] |
| 111 | ignore_missing_imports = True |
| 112 | |
| 113 | [mypy-_string] |
| 114 | ignore_missing_imports = True |
| 115 | |
| 116 | [mypy-toml.decoder] |
| 117 | ignore_missing_imports = True |