| 1 |
[run] |
| 2 |
branch = False |
| 3 |
|
| 4 |
omit = |
| 5 |
# omit the following directory |
| 6 |
*/pbr/* |
| 7 |
*/site-packages/* |
| 8 |
/home/travis/virtualenv/* |
| 9 |
*.eggs/* |
| 10 |
*/distutils/* |
| 11 |
|
| 12 |
setup.py |
| 13 |
|
| 14 |
[report] |
| 15 |
skip_covered = False |
| 16 |
show_missing = True |
| 17 |
|
| 18 |
# Regexes for lines to exclude from consideration |
| 19 |
exclude_lines = |
| 20 |
# Have to re-enable the standard pragma |
| 21 |
pragma: no cover |
| 22 |
|
| 23 |
# Don't complain about missing debug-only code: |
| 24 |
def __repr__ |
| 25 |
if self\.debug |
| 26 |
|
| 27 |
# Don't complain if tests don't hit defensive assertion code: |
| 28 |
raise AssertionError |
| 29 |
raise NotImplementedError |
| 30 |
|
| 31 |
# Don't complain if non-runnable code isn't run: |
| 32 |
if __name__ == .__main__.: |
| 33 |
|
| 34 |
|
| 35 |
ignore_errors = True |
| 36 |
fail_under = 70 |
| 37 |
|
| 38 |
[html] |
| 39 |
directory = coverage_html_report |