1 [run] 2 # measure 'branch' coverage in addition to 'statement' coverage 3 # See: http://coverage.readthedocs.org/en/coverage-4.0.3/branch.html#branch 4 branch = True 5 6 # list of directories or packages to measure 7 source = fontTools 8 9 # these are treated as equivalent when combining data 10 [paths] 11 source = 12 Lib/fontTools 13 .tox/*/lib/python*/site-packages/fontTools 14 .tox/pypy*/site-packages/fontTools 15 16 [report] 17 # Regexes for lines to exclude from consideration 18 exclude_lines = 19 # keywords to use in inline comments to skip coverage 20 pragma: no cover 21 22 # don't complain if tests don't hit defensive assertion code 23 raise AssertionError 24 raise NotImplementedError 25 26 # don't complain if non-runnable code isn't run 27 if 0: 28 if __name__ == .__main__.: 29 30 # ignore source code that cant be found 31 ignore_errors = True 32 33 # when running a summary report, show missing lines 34 show_missing = True 35