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]
# slightly more verbose output
console_output_style = count
# pretty-print test names in the Codecov U
junit_family = legacy
addopts =
# show all skipped/failed/xfailed tests in the summary except passed
-ra
--strict-config
--junitxml=.reports/pytest.xml
[coverage:run]
data_file = .reports/coverage/data
branch = true
relative_files = true
[coverage:report]
precision = 2
skip_empty = true
show_missing = true
exclude_also =
@atexit.register
if TYPE_CHECKING
if typing.TYPE_CHECKING
raise AssertionError
raise NotImplementedError
[coverage:html]
show_contexts = true
[mypy]
allow_any_generics = false
allow_subclassing_any = true
allow_untyped_calls = true
strict = true
[mypy-test.*]
allow_untyped_defs = true
|