Skip to content

Commit

Permalink
add .coveragerc
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin J. Mitchell committed Aug 22, 2010
1 parent dd04ba5 commit b89a0f0
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .coveragerc
@@ -0,0 +1,22 @@
[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 0:
if __name__ == .__main__.:
if runtime.platformType == 'win32'
omit =
master/buildbot/test
master/buildbot/status/web/templates
slave/buildslave/test

0 comments on commit b89a0f0

Please sign in to comment.