mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 00:25:22 +00:00
d78e2a32e2
This change enables us to start getting coverage reports about test modules so that we can start detecting dead(unused) code
30 lines
578 B
INI
30 lines
578 B
INI
[run]
|
|
branch = True
|
|
cover_pylib = False
|
|
parallel = True
|
|
concurrency = multiprocessing
|
|
omit =
|
|
setup.py
|
|
.nox/*
|
|
|
|
[report]
|
|
# Regexes for lines to exclude from consideration
|
|
exclude_lines =
|
|
# Have to re-enable the standard pragma
|
|
pragma: no cover
|
|
|
|
# Don't complain about missing debug-only code:
|
|
def __repr__
|
|
|
|
# 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 0:
|
|
if False:
|
|
if __name__ == .__main__.:
|
|
|
|
|
|
ignore_errors = True
|