Debian Codegraph @

.coveragerc

raw
1 [run]
2 branch = True
3
4 [report]
5 # Regexes for lines to exclude from consideration
6 exclude_lines =
7 # Don't complain if non-runnable code isn't run:
8 if 0:
9 if __name__ == .__main__.:
10 raise AssertionError\(
11
12 # Empty bodies in protocols or abstract methods
13 ^\s*def [a-zA-Z0-9_]+\(.*\)(\s*->.*)?:\s*\.\.\.(\s*#.*)?$
14 ^\s*\.\.\.(\s*#.*)?$
15
16 .*# pragma: no cover
17 .*# pragma: no branch
18
19 # Additions for IDLE:
20 .*# htest #
21 if not (_htest or _utest):
22 if not .*_utest:
23 if .*_htest:
24