Skip to content

Commit b899ed3

Browse files
authored
Merge pull request #18 from scientificcomputing/finsberg/exclude-coverage
Exclude some stuff from coverage
2 parents 479c2b9 + ebeed7b commit b899ed3

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.coveragerc

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,20 @@ parallel = true
33
source = io4dolfinx
44

55
[html]
6-
directory= htmlcov
6+
directory = htmlcov
77

88
[xml]
9-
output = coverage.xml
9+
output = coverage.xml
10+
11+
[report]
12+
exclude_also =
13+
def __repr__
14+
if self.debug:
15+
if settings.DEBUG
16+
raise AssertionError
17+
raise NotImplementedError
18+
if 0:
19+
if __name__ == .__main__.:
20+
if TYPE_CHECKING:
21+
class .*\bProtocol\):
22+
@(abc\.)?abstractmethod

0 commit comments

Comments
 (0)