| 1 |
# .coveragerc to control coverage.py |
| 2 |
[run] |
| 3 |
branch = True |
| 4 |
|
| 5 |
[report] |
| 6 |
# Regexes for lines to exclude from consideration |
| 7 |
exclude_lines = |
| 8 |
# Have to re-enable the standard pragma |
| 9 |
pragma: no cover |
| 10 |
|
| 11 |
# Don't complain about missing debug-only code: |
| 12 |
def __repr__ |
| 13 |
if self\.debug |
| 14 |
|
| 15 |
# Don't complain if tests don't hit defensive assertion code: |
| 16 |
raise AssertionError |
| 17 |
raise NotImplementedError |
| 18 |
|
| 19 |
# Don't complain if non-runnable code isn't run: |
| 20 |
if 0: |
| 21 |
if __name__ == .__main__.: |
| 22 |
|
| 23 |
ignore_errors = True |
| 24 |
|
| 25 |
[html] |
| 26 |
directory = htmlcov |