Skip to content

Commit

Permalink
adding coverage configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
barsch committed Aug 4, 2013
1 parent a2fbb7c commit b6c4b69
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions coverage.rc
@@ -0,0 +1,26 @@
[run]
omit =
*/scripts/*
*/data/*
*/docs/*


[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

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

# skip missing imports which
except ImportError

0 comments on commit b6c4b69

Please sign in to comment.