forked from pdm-project/pdm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
46 lines (43 loc) · 971 Bytes
/
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
[flake8]
exclude =
.git,
tests/fixtures/*,
pdm/_vendor/*,
env,
dist,
build,
__pypackages__,
temp_script.py
max_line_length = 88
ignore =
E203
W503
[coverage:run]
branch = true
source = pdm/
omit =
pdm/__main__.py,
pdm/_editable_install.py
pdm/setup_dev.py
[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]
ignore_missing_imports = True
disallow_incomplete_defs = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_untyped_decorators = True
files = pdm/**/*.py
exclude = pdm/(pep582|_vendor)/