-
-
Notifications
You must be signed in to change notification settings - Fork 145
Expand file tree
/
Copy pathsetup.cfg
More file actions
29 lines (25 loc) · 611 Bytes
/
setup.cfg
File metadata and controls
29 lines (25 loc) · 611 Bytes
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
[flake8]
max-line-length = 100
# F824 `nonlocal x` is unused: name is never assigned in scope
# W503 Line break before a binary operator
# W504 Line break after a binary operator -- https://www.flake8rules.com/rules/W504.html
ignore = F824, W503, W504
[mypy]
warn_unused_ignores = True
warn_redundant_casts = True
ignore_missing_imports = True
[mypy-pdoc.test.example_pkg.*]
ignore_errors = True
[coverage:run]
source =
pdoc
omit =
pdoc/test/example_pkg/*
[coverage:report]
exclude_lines =
^\s*continue\b
^\s*return\b
^\s*raise\b
^\s*except\b
^\s*warnings\.warn\(
^\s*warn\(