Skip to content

Commit 0b456ad

Browse files
authored
rename coverage controller (#61)
rename and fix module name in coverage controller
1 parent 111c7b4 commit 0b456ad

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed
Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
11
# .coveragerc to control coverage.py
22
[run]
3-
source = pygritools
3+
source = pygridtools
44
branch = True
55
include = pygridtools/*.py
6-
omit = tests/*
6+
omit = pygridtools/tests/*
77

88
[report]
99
include = pygridtools/*.py
10-
omit = tests/*
1110
ignore_errors = True
11+
omit =
12+
pygridtools/tests/*
13+
pygridtools/testing/*
1214

1315
# Regexes for lines to exclude from consideration
1416
exclude_lines =
15-
# Have to re-enable the standard pragma
1617
pragma: no cover
17-
18-
# Don't complain if tests don't hit defensive assertion code:
18+
def __repr__
19+
if self.debug:
20+
if settings.DEBUG
21+
raise AssertionError
1922
raise NotImplementedError
20-
except NotImplementedError
21-
# Ignore pass
22-
pass
23+
if 0:
24+
if __name__ == .__main__.:

0 commit comments

Comments
 (0)