| 1 |
[paths] |
| 2 |
source = lib |
| 3 |
|
| 4 |
[run] |
| 5 |
branch = true |
| 6 |
parallel = true |
| 7 |
source = |
| 8 |
lib |
| 9 |
|
| 10 |
[html] |
| 11 |
directory = test_coverage_report_html |
| 12 |
show_contexts = true |
| 13 |
skip_empty = true |
| 14 |
|
| 15 |
[report] |
| 16 |
show_missing = true |
| 17 |
precision = 1 |
| 18 |
; Eventually will want to fail if coverage is below this percentage. |
| 19 |
; fail_under = 40 |
| 20 |
|
| 21 |
# Regexes for lines to exclude from consideration |
| 22 |
exclude_lines = |
| 23 |
# Have to re-enable the standard pragma |
| 24 |
pragma: no cover |
| 25 |
|
| 26 |
# Don't complain about missing debug-only code: |
| 27 |
def __repr__ |
| 28 |
if self\.debug |
| 29 |
|
| 30 |
# Don't complain if tests don't hit defensive assertion code: |
| 31 |
raise AssertionError |
| 32 |
raise NotImplementedError |
| 33 |
|
| 34 |
# Don't complain if non-runnable code isn't run: |
| 35 |
if 0: |
| 36 |
if __name__ == .__main__.: |