Skip to content

Commit ada5995

Browse files
committed
Fixup coverage settings
1 parent c0a6dff commit ada5995

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.coveragerc

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# =========================================================================
2+
# COVERAGE CONFIGURATION FILE: .coveragerc
3+
# =========================================================================
4+
# LANGUAGE: Python
5+
# SEE ALSO:
6+
# * http://nedbatchelder.com/code/coverage/
7+
# * http://nedbatchelder.com/code/coverage/config.html
8+
# =========================================================================
9+
10+
[run]
11+
append = .coverage
12+
include = ctf_cli*
13+
omit = nose
14+
branch = True
15+
#parallel = True
16+
17+
[report]
18+
# Regexes for lines to exclude from consideration
19+
exclude_lines =
20+
# Have to re-enable the standard pragma
21+
pragma: no cover
22+
23+
# Don't complain about missing debug-only code:
24+
def __repr__
25+
if self\.debug
26+
27+
# Don't complain if tests don't hit defensive assertion code:
28+
raise AssertionError
29+
raise NotImplementedError
30+
31+
# Don't complain if non-runnable code isn't run:
32+
if 0:
33+
if False:
34+
if __name__ == .__main__.:
35+
36+
ignore_errors = True
37+
38+
[html]
39+
directory = coverage.html
40+
41+
[xml]
42+
outfile = coverage.xml

0 commit comments

Comments
 (0)