forked from pdm-project/pdm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
55 lines (51 loc) · 1.13 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
[flake8]
extend-exclude =
tests/fixtures/*,
env,
dist,
build,
__pypackages__,
temp_script.py
max_complexity = 22
max_line_length = 88
ignore =
B019
B020
B028
E203
W503
[codespell]
ignore-words-list = ba,overriden,te
[coverage:run]
branch = true
source = pdm/
omit =
pdm/__main__.py
pdm/pep582/sitecustomize.py
pdm/models/in_process/*.py
pdm/models/setup.py
*/pdm-test-*-env/*
[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
[mypy]
follow_imports = silent
ignore_missing_imports = True
disallow_incomplete_defs = True
disallow_untyped_defs = True
disallow_untyped_decorators = True
exclude = pdm/(pep582/|models/in_process/.+\.py)
namespace_packages = True
mypy_path = src
explicit_package_bases = True