Debian Codegraph @

.coveragerc

raw
1 # .coveragerc to control coverage.py
2 [run]
3 branch = True
4 omit = *mock*, *pbr*, *six*, *funcsigs*, *encodings*
5
6 [report]
7 # Regexes for lines to exclude from consideration
8 exclude_lines =
9 # Have to re-enable the standard pragma
10 pragma: no cover
11
12 # Ignore backward compatibility code
13 if sys.version_info < (3, 3, 0):
14
15 # Don't complain about missing debug-only code:
16 def __repr__
17 if self\.debug
18
19 # Don't complain if tests don't hit defensive assertion code:
20 raise AssertionError
21 raise NotImplementedError
22
23 # Don't complain if non-runnable code isn't run:
24 if 0:
25 if __name__ == .__main__.:
26 mock
27 pbr
28 six
29
30 omit =
31 tests/__init__.py
32 tests/*
33
34
35 ignore_errors = True
36
37 [html]
38 directory = coverage_html_report