forked from pylint-dev/pylint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
94 lines (72 loc) · 2.23 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
# Setuptools v62.6 doesn't support editable installs with just 'pyproject.toml' (PEP 660).
# Keep this file until it does!
[metadata]
# wheel doesn't yet read license_files from pyproject.toml - tools.setuptools
# Keep it here until it does!
license_files =
LICENSE
CONTRIBUTORS.txt
[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)
benchmark: Baseline of pylint performance, if this regress something serious happened
timeout: Marks from pytest-timeout.
needs_two_cores: Checks that need 2 or more cores to be meaningful
[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
[flake8]
ignore =
E203, W503, # Incompatible with black see https://github.com/ambv/black/issues/315
E501, # Lot of lines too long right now
max-line-length=88
max-complexity=39
# Required for flake8-typing-imports (v1.12.0)
# The plugin doesn't yet read the value from pyproject.toml
min_python_version = 3.7.2
[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-tomlkit]
ignore_missing_imports = True
[mypy-sphinx.*]
ignore_missing_imports = True
[mypy-dill]
ignore_missing_imports = True
[mypy-colorama]
ignore_missing_imports = True