Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (25 sloc) 705 Bytes
# .coveragerc to control coverage.py
[run]
branch = True
[report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# don't complain about imports
# from .* import .*
# import .*
# Don't complain about missing debug-only code:
def __repr__
if self\.debug
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError
# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:
# Don't report py2 as uncovered with py3
pragma: py2
ignore_errors = True
[html]
directory = coverage_html_report
Something went wrong with that request. Please try again.