-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
67 lines (61 loc) · 1.4 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
56
57
58
59
60
61
62
63
64
65
66
67
[aliases]
test = pytest
[flake8]
ignore = E111, E203
max-line-length = 160
max-complexity = 10
show-source = True
statistics = True
count = True
pretty = True
exclude = .env
.eggs
.git,
__pycache__
[coverage:report]
exclude_lines =
pragma: no cover
raise NotImplementedError
omit = **/conftest.py
[coverage:xml]
output = coverage.xml
[coverage:run]
omit = */test_*.py
*/tests/*.py
[mypy]
namespace_packages = True
ignore_missing_imports = True
warn_unused_configs = True
warn_unused_ignores = True
warn_unreachable = True
warn_redundant_casts = True
allow_redefinition = True
show_error_context = True
show_column_numbers = True
[tool:pytest]
markers = slow
filterwarnings = ignore::DeprecationWarning
addopts = --cov=dq0
--cov-config=setup.cfg
--cov-report=term-missing
--cov-report=xml:dist/tests/coverage.xml
--cov-report=html:dist/tests/coverage_html
--doctest-modules
--durations=0
--flake8
--junitxml=dist/tests/junit.xml
--mypy
--pyargs dq0/
--pyargs tests/
-v
testpaths = tests
python_files = test_*.py
norecursedirs = bin
docs
doc
examples
tools
*.egg-info
.eggs
deprecated
doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL