fonttools/.coveragerc
Cosimo Lupo 9ee3e37136
.coveragerc: run coverage.py on installed package, and combine equivalent 'paths'
previously we were running coverage.py on the source directory itself, whereas now we run it on the installed fontTools package, so the different but equivalent paths need to be unified with `coverage combine`
2016-12-26 13:37:51 +00:00

35 lines
909 B
INI
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[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 = fontTools
# these are treated as equivalent when combining data
[paths]
source =
Lib/fontTools
.tox/*/lib/python*/site-packages/fontTools
.tox/pypy*/site-packages/fontTools
[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 cant be found
ignore_errors = True
# when running a summary report, show missing lines
show_missing = True