summaryrefslogtreecommitdiff
path: root/setup.cfg
blob: bcbcbab55f90ba2e5e72c3939a0fb1e6a844d342 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[metadata]
name = pylint
version = attr: pylint.__pkginfo__.__version__
description = python code static checker
long_description = file: README.rst
long_description_content_type = text/x-rst
author = Python Code Quality Authority
author_email = code-quality@python.org
license = GPL-2.0-or-later
license_files =
    LICENSE
    CONTRIBUTORS.txt
classifiers =
    Development Status :: 6 - Mature
    Environment :: Console
    Intended Audience :: Developers
    License :: OSI Approved :: GNU General Public License v2 (GPLv2)
    Operating System :: OS Independent
    Programming Language :: Python
    Programming Language :: Python :: 3
    Programming Language :: Python :: 3 :: Only
    Programming Language :: Python :: 3.6
    Programming Language :: Python :: 3.7
    Programming Language :: Python :: 3.8
    Programming Language :: Python :: 3.9
    Programming Language :: Python :: 3.10
    Programming Language :: Python :: Implementation :: CPython
    Programming Language :: Python :: Implementation :: PyPy
    Topic :: Software Development :: Debuggers
    Topic :: Software Development :: Quality Assurance
    Topic :: Software Development :: Testing
keywords = static code analysis linter python lint
project_urls =
    Homepage = https://www.pylint.org/
    Source Code = https://github.com/PyCQA/pylint
    What's New = https://pylint.pycqa.org/en/latest/whatsnew/
    Bug Tracker = https://github.com/PyCQA/pylint/issues
    Discord Server = https://discord.gg/Egy6P8AMB5
    Docs: User Guide = https://pylint.pycqa.org/en/latest/
    Docs: Contributing = https://pylint.pycqa.org/en/latest/development_guide/contribute.html
    Docs: Technical Reference = https://pylint.pycqa.org/en/latest/technical_reference/index.html

[options]
packages = find:
install_requires =
    platformdirs>=2.2.0
    astroid>=2.8.4,<2.9 # (You should also upgrade requirements_test_min.txt)
    isort>=4.2.5,<6
    mccabe>=0.6,<0.7
    toml>=0.9.2
    colorama;sys_platform=="win32"
    typing-extensions>=3.10.0;python_version<"3.10"
python_requires = ~=3.6

[options.packages.find]
include =
    pylint*

[options.entry_points]
console_scripts =
    pylint = pylint:run_pylint
    epylint = pylint:run_epylint
    pyreverse = pylint:run_pyreverse
    symilar = pylint:run_symilar

[aliases]
test = pytest

[tool:pytest]
testpaths = tests
python_files = *test_*.py
addopts = -m "not acceptance"
markers =
    acceptance:
    benchmark: Baseline of pylint performance, if this regress something serious happened

[isort]
multi_line_output = 3
line_length = 88
known_third_party = platformdirs, astroid, sphinx, isort, pytest, mccabe, six, toml
include_trailing_comma = True
skip_glob = tests/functional/**,tests/input/**,tests/extensions/data/**,tests/regrtest_data/**,tests/data/**,astroid/**,venv/**
src_paths = pylint

[mypy]
no_implicit_optional = True
scripts_are_modules = True
warn_unused_ignores = True

[mypy-astroid.*]
ignore_missing_imports = True

[mypy-tests.*]
ignore_missing_imports = True

[mypy-coverage]
ignore_missing_imports = True

[mypy-enchant.*]
ignore_missing_imports = True

[mypy-isort.*]
ignore_missing_imports = True

[mypy-mccabe]
ignore_missing_imports = True

[mypy-pytest]
ignore_missing_imports = True

[mypy-_pytest.*]
ignore_missing_imports = True

[mypy-setuptools]
ignore_missing_imports = True

[mypy-_string]
ignore_missing_imports = True

[mypy-toml.decoder]
ignore_missing_imports = True