Files
awx/.coveragerc
Sviatoslav Sydorenko (Святослав Сидоренко) 31ae3f25e7 🧪💅 Migrate to exclude_also @ coveragerc (#15513)
This is an option that appeared in Coverage.py v7.2.0.
2024-09-13 16:20:51 -04:00

29 lines
565 B
INI

[report]
# Regexes for lines to exclude from consideration
exclude_also =
# Don't complain about missing debug-only code:
def __repr__
if self\.debug
# 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 __name__ == .__main__.:
^\s*@pytest\.mark\.xfail
ignore_errors = True
[run]
branch = True
omit =
awx/main/migrations/*
awx/lib/site-packages/*
source = awx
[xml]
output = ./reports/coverage.xml