Skip to content

Commit 1b8d39d

Browse files
committed
MNT: Update coverage config
Remove ignored entry, add excludes for patterns that are unreachable or reasonable not to test.
1 parent a6d27ab commit 1b8d39d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.coveragerc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
[run]
22
branch = True
33
source = nibabel
4-
include = */nibabel/*
54
omit =
65
*/externals/*
76
*/benchmarks/*
87
*/tests/*
98
nibabel/_version.py
9+
10+
[report]
11+
exclude_also =
12+
def __repr__
13+
if (ty\.|typing\.)?TYPE_CHECKING:
14+
if 0:
15+
if __name__ == .__main__.:
16+
@(abc\.)?abstractmethod

0 commit comments

Comments
 (0)