Skip to content

Commit feca1a6

Browse files
committed
MNT: Fix .coveragerc exclude lines regexes
1 parent b454bd2 commit feca1a6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.coveragerc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ omit =
99

1010
[report]
1111
exclude_lines =
12-
return
13-
raise
14-
except
15-
warnings.warn
12+
^\s*continue\b
13+
^\s*return\b
14+
^\s*raise\b
15+
^\s*except\b
16+
^\s*warnings\.warn\(
17+
^\s*warn\(

0 commit comments

Comments
 (0)