Skip to content

Commit a1af478

Browse files
committed
Add default exclusion to coverage exclude_lines.
Once `exclude_lines` is set, the default exclusion is overridden, so we can't ignore coverage on specific lines. This adds the default rule back so that can be done again.
1 parent c3a18b3 commit a1af478

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.coveragerc

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ omit = matplotlib/_version.py
77

88
[report]
99
exclude_lines =
10+
pragma: no cover
1011
raise NotImplemented
1112
def __str__
1213
def __repr__

0 commit comments

Comments
 (0)