|
rpm-build |
6a2e4c |
[run]
|
|
rpm-build |
6a2e4c |
# measure 'branch' coverage in addition to 'statement' coverage
|
|
rpm-build |
6a2e4c |
# See: http://coverage.readthedocs.org/en/coverage-4.0.3/branch.html#branch
|
|
rpm-build |
6a2e4c |
branch = True
|
|
rpm-build |
6a2e4c |
|
|
rpm-build |
6a2e4c |
# list of directories or packages to measure
|
|
rpm-build |
6a2e4c |
source = fontTools
|
|
rpm-build |
6a2e4c |
|
|
rpm-build |
6a2e4c |
# these are treated as equivalent when combining data
|
|
rpm-build |
6a2e4c |
[paths]
|
|
rpm-build |
6a2e4c |
source =
|
|
rpm-build |
6a2e4c |
Lib/fontTools
|
|
rpm-build |
6a2e4c |
.tox/*/lib/python*/site-packages/fontTools
|
|
rpm-build |
6a2e4c |
.tox/pypy*/site-packages/fontTools
|
|
rpm-build |
6a2e4c |
|
|
rpm-build |
6a2e4c |
[report]
|
|
rpm-build |
6a2e4c |
# Regexes for lines to exclude from consideration
|
|
rpm-build |
6a2e4c |
exclude_lines =
|
|
rpm-build |
6a2e4c |
# keywords to use in inline comments to skip coverage
|
|
rpm-build |
6a2e4c |
pragma: no cover
|
|
rpm-build |
6a2e4c |
|
|
rpm-build |
6a2e4c |
# don't complain if tests don't hit defensive assertion code
|
|
rpm-build |
6a2e4c |
raise AssertionError
|
|
rpm-build |
6a2e4c |
raise NotImplementedError
|
|
rpm-build |
6a2e4c |
|
|
rpm-build |
6a2e4c |
# don't complain if non-runnable code isn't run
|
|
rpm-build |
6a2e4c |
if 0:
|
|
rpm-build |
6a2e4c |
if __name__ == .__main__.:
|
|
rpm-build |
6a2e4c |
|
|
rpm-build |
6a2e4c |
# ignore source code that can’t be found
|
|
rpm-build |
6a2e4c |
ignore_errors = True
|
|
rpm-build |
6a2e4c |
|
|
rpm-build |
6a2e4c |
# when running a summary report, show missing lines
|
|
rpm-build |
6a2e4c |
show_missing = True
|