2016-11-04 09:17:26 +00:00
|
|
|
|
[run]
|
|
|
|
|
# measure 'branch' coverage in addition to 'statement' coverage
|
|
|
|
|
# See: http://coverage.readthedocs.org/en/coverage-4.0.3/branch.html#branch
|
|
|
|
|
branch = True
|
|
|
|
|
|
2017-10-30 19:16:58 +00:00
|
|
|
|
# list of directories or packages to measure
|
|
|
|
|
source = cu2qu
|
|
|
|
|
|
2018-09-26 17:21:46 +01:00
|
|
|
|
# this is simply vendored, no need to include in coverage report
|
|
|
|
|
omit =
|
|
|
|
|
*/cu2qu/cython.py
|
|
|
|
|
|
2017-10-30 19:16:58 +00:00
|
|
|
|
# these are treated as equivalent when combining data
|
|
|
|
|
[paths]
|
2016-11-04 09:17:26 +00:00
|
|
|
|
source =
|
|
|
|
|
Lib/cu2qu
|
2017-10-30 19:16:58 +00:00
|
|
|
|
.tox/*/lib/python*/site-packages/cu2qu
|
|
|
|
|
.tox/pypy*/site-packages/cu2qu
|
2016-11-04 09:17:26 +00:00
|
|
|
|
|
|
|
|
|
[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
|