Debian Codegraph @

.coveragerc

raw
1 [run]
2 branch = True
3 source =
4 .
5 omit =
6 .tox/*
7 /usr/*
8 */tmp*
9 setup.py
10 # Don't complain if non-runnable code isn't run
11 */__main__.py
12 yelp_styleguide/templates/*.py
13 # Coverage is incorrectly reported for distutils/__init__.py only when in venv, causing < 100%
14 */distutils/__init__.py
15
16 [report]
17 exclude_lines =
18 # Have to re-enable the standard pragma
19 \#\s*pragma: no cover
20
21 # Don't complain if tests don't hit defensive assertion code:
22 ^\s*raise AssertionError\b
23 ^\s*raise NotImplementedError\b
24 ^\s*return NotImplemented\b
25 ^\s*raise$
26
27 # Don't complain if non-runnable code isn't run:
28 ^if __name__ == ['"]__main__['"]:$
29
30 [html]
31 directory = coverage-html
32
33 # vim:ft=dosini