mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
71a1547c3a
flake8 fixes Fix and add awx/api/tests added fact tests added proper xml reports for jenkins added jenkins requirements and adjusted Makefile target
30 lines
602 B
INI
30 lines
602 B
INI
[run]
|
|
source = awx
|
|
branch = True
|
|
omit =
|
|
awx/main/migrations/*
|
|
awx/lib/site-packages/*
|
|
|
|
[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__
|
|
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__.:
|
|
|
|
ignore_errors = True
|
|
|
|
[xml]
|
|
output = ./reports/coverage.xml
|