Skip to content

Commit d776cbd

Browse files
committed
MNT: Fix .coveragerc exclude lines regexes
1 parent 46ce761 commit d776cbd

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.coveragerc

+6-5
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ omit =
66

77
[report]
88
exclude_lines =
9-
continue
10-
return
11-
raise
12-
except
13-
warn\(
9+
^\s*continue\b
10+
^\s*return\b
11+
^\s*raise\b
12+
^\s*except\b
13+
^\s*warnings\.warn\(
14+
^\s*warn\(

0 commit comments

Comments
 (0)