forked from pdm-project/pdm-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
54 lines (49 loc) · 1.1 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
[flake8]
exclude =
.git,
tests/fixtures/*,
env,
dist,
build,
pdm/pep517/_vendor/*,
__pypackages__,
max_line_length = 88
ignore =
E203
W503
[coverage:report]
# Regexes for lines to exclude from consideration
exclude_lines =
pragma: no cover,
# Don't complain about missing debug-only code:
def __repr__,
if self.debug,
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError,
raise NotImplementedError,
# Don't complain if non-runnable code isn't run:
if __name__ == .__main__.:
if TYPE_CHECKING:
ignore_errors = true
[isort]
line_length = 88
multi_line_output = 3
include_trailing_comma = true
use_parentheses = true
force_grid_wrap = 0
atomic = true
skip_glob =
*/setup.py
pdm/pep517/_vendor/*
filter_files = true
known_first_party = pdm
[mypy]
ignore_missing_imports = True
disallow_incomplete_defs = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_untyped_decorators = True
[mypy-pdm.pep517._vendor.*]
ignore_errors = True
[mypy-pdm.pep517.license]
disallow_untyped_calls = False