Debian Codegraph @

.coveragerc

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