-
Notifications
You must be signed in to change notification settings - Fork 49
/
setup.cfg
39 lines (33 loc) · 911 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
[tool:pytest]
addopts = -vv --doctest-modules --ignore setup.py --basetemp=.pytest
testpaths = tests
# Settings for running test coverage, used by pytest coverage plugin
# (in the `pytest-cov` package)
[coverage:run]
# Measure branch coverage in addition to statement coverage.
branch = True
# Measure coverage in the staticjinja directory/package
source = staticjinja
# When `coverage html` is run, where the report html is placed.
[coverage:html]
directory = .htmlcov
[coverage:report]
exclude_lines =
class .*Protocol
def __repr__
if False:
if .*TYPE_CHECKING:
pragma: no cover
[flake8]
# Make flake8 play nicely with Black
max-line-length = 88
[mypy]
python_version = 3.7
files = staticjinja, tests
ignore_missing_imports = true
show_error_codes = true
warn_no_return = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true