Permalink
Browse files

add .coveragerc configuration file for coverage.py tool

  • Loading branch information...
anthrotype committed Nov 1, 2016
1 parent 3de3566 commit bcbf36e0073094acdc4483e71054825283885952
Showing with 28 additions and 0 deletions.
  1. +28 −0 .coveragerc
View
@@ -0,0 +1,28 @@
[run]
# measure 'branch' coverage in addition to 'statement' coverage
# See: http://coverage.readthedocs.org/en/coverage-4.0.3/branch.html#branch
branch = True
# list of directories to measure
source =
Lib/defcon
[report]
# Regexes for lines to exclude from consideration
exclude_lines =
# keywords to use in inline comments to skip coverage
pragma: no cover
# 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__.:
# ignore source code that can’t be found
ignore_errors = True
# when running a summary report, show missing lines
show_missing = True

0 comments on commit bcbf36e

Please sign in to comment.