29 lines
573 B
Plaintext
29 lines
573 B
Plaintext
|
[run]
|
||
|
parallel = True
|
||
|
branch = True
|
||
|
source = $PWD
|
||
|
data_file = $PWD/.coverage
|
||
|
omit =
|
||
|
*/.tox/*
|
||
|
/usr/*
|
||
|
*/setup.py
|
||
|
|
||
|
[report]
|
||
|
show_missing = True
|
||
|
exclude_lines =
|
||
|
# Have to re-enable the standard pragma
|
||
|
\#\s*pragma: no cover
|
||
|
|
||
|
# Don't complain if tests don't hit defensive assertion code:
|
||
|
^\s*raise AssertionError\b
|
||
|
^\s*raise NotImplementedError\b
|
||
|
^\s*return NotImplemented\b
|
||
|
^\s*raise TypeError\b
|
||
|
^\s*raise$
|
||
|
|
||
|
# Don't complain if non-runnable code isn't run:
|
||
|
^if __name__ == ['"]__main__['"]:$
|
||
|
|
||
|
[html]
|
||
|
directory = coverage-html
|