forked from pylint-dev/pylint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
145 lines (121 loc) · 4.11 KB
/
setup.cfg
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
[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.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 =
dill>=0.2
platformdirs>=2.2.0
# Also upgrade requirements_test_min.txt if you are bumping astroid.
# Pinned to dev of next minor update to allow editable installs,
# see https://github.com/PyCQA/astroid/issues/1341
astroid>=2.11.2,<=2.12.0-dev0
isort>=4.2.5,<6
mccabe>=0.6,<0.8
tomli>=1.1.0;python_version<"3.11"
colorama;sys_platform=="win32"
typing-extensions>=3.10.0;python_version<"3.10"
python_requires = >=3.7.2
[options.extras_require]
testutil=gitpython>3
[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
[options.package_data]
pylint = testutils/testing_pylintrc
[aliases]
test = pytest
[tool:pytest]
testpaths = tests
python_files = *test_*.py
addopts = --strict-markers
markers =
primer_stdlib: Checks for crashes and errors when running pylint on stdlib
primer_external_batch_one: Checks for crashes and errors when running pylint on external libs (batch one)
primer_external_batch_two: Checks for crashes and errors when running pylint on external libs (batch two)
benchmark: Baseline of pylint performance, if this regress something serious happened
timeout: Marks from pytest-timeout.
[isort]
profile = black
known_third_party = platformdirs, astroid, sphinx, isort, pytest, mccabe, six, toml
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
show_error_codes = True
enable_error_code = ignore-without-code
[mypy-astroid.*]
ignore_missing_imports = True
[mypy-tests.*]
ignore_missing_imports = True
[mypy-contributors_txt]
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-git.*]
ignore_missing_imports = True
[mypy-sphinx.*]
ignore_missing_imports = True
[mypy-dill]
ignore_missing_imports = True
[mypy-colorama]
ignore_missing_imports = True