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 4branch = True 5 6# list of directories or packages to measure 7source = glyphsLib 8 9# these are treated as equivalent when combining data 10[paths] 11source = 12 Lib/glyphsLib 13 .tox/*/lib/python*/site-packages/glyphsLib 14 .tox/*/lib/site-packages/glyphsLib 15 .tox/pypy*/site-packages/glyphsLib 16 17[report] 18# Regexes for lines to exclude from consideration 19exclude_lines = 20 # keywords to use in inline comments to skip coverage 21 pragma: no cover 22 23 # don't complain if tests don't hit defensive assertion code 24 raise AssertionError 25 raise NotImplementedError 26 27 # don't complain if non-runnable code isn't run 28 if 0: 29 if __name__ == .__main__.: 30 31# ignore source code that can’t be found 32ignore_errors = True 33