forked from pdm-project/pdm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
38 lines (35 loc) · 949 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
[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