Skip to content

Commit

Permalink
add .coveragerc file
Browse files Browse the repository at this point in the history
  • Loading branch information
anthrotype committed Nov 29, 2017
1 parent 6d9668f commit 5d14f11
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[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 or packages to measure
source = ufonormalizer

# these are treated as equivalent when combining data
[paths]
source =
src
.tox/*/lib/python*/site-packages
.tox/pypy*/site-packages

[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

0 comments on commit 5d14f11

Please sign in to comment.