Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

Commit

Permalink
Adding coverage configuration file.
Browse files Browse the repository at this point in the history
  • Loading branch information
rich-hart committed Feb 16, 2015
1 parent 3389885 commit bf4d85e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# .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 missing debug-only code:
#def __repr__
#if self\.debug

# Don't complain if tests don't hit defensive assertion code:
#raise AssertionError
raise NotImplementedError
except ImportError
except TypeError
except ArchiveConnectionError
raise httpexceptions
except KeyError
except Exception as e:

# Don't complain if non-runnable code isn't run:
#if 0:
#if __name__ == .__main__.:

ignore_errors = True

[html]
directory = coverage_html_report

0 comments on commit bf4d85e

Please sign in to comment.