| 1 |
# .coveragerc to control coverage.py |
| 2 |
|
| 3 |
# To run coverage tests, run `coverage run tests/test_mouseinfo.py` then `coverage html`. The report will be in htmlconv/index.html |
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
[run] |
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
[report] |
| 12 |
# Regexes for lines to exclude from consideration |
| 13 |
exclude_lines = |
| 14 |
# Have to re-enable the standard pragma |
| 15 |
pragma: no cover |
| 16 |
|
| 17 |
# Don't complain if tests don't hit defensive assertion code: |
| 18 |
raise AssertionError |
| 19 |
raise NotImplementedError |
| 20 |
|
| 21 |
# Don't complain if non-runnable code isn't run: |
| 22 |
if 0: |
| 23 |
if __name__ == .__main__.: |
| 24 |
|
| 25 |
ignore_errors = True |
| 26 |
|
| 27 |
|
| 28 |
[html] |
| 29 |
directory = htmlcov |