Skip to content

Commit a5ba414

Browse files
committed
maint(coverage): do not report some particular lines of code
1 parent 10fcdd0 commit a5ba414

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.coveragerc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,10 @@ branch = True
33
omit =
44
*/tests/*
55
nitransforms/conftest.py
6-
nitransforms/patched.py
6+
nitransforms/patched.py
7+
8+
[report]
9+
# Regexes for lines to exclude from consideration
10+
exclude_lines =
11+
raise NotImplementedError
12+
warnings\.warn

0 commit comments

Comments
 (0)