Skip to content

Commit 716ece7

Browse files
authored
tests: exclude type checking blocks from test coverage (#490)
1 parent 5ca9860 commit 716ece7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ keywords = [
6262
"shapley values",
6363
"feature interaction",
6464
]
65+
[tool.coverage.report]
66+
exclude_also = [
67+
'if TYPE_CHECKING:',
68+
]
6569

6670
[tool.setuptools_scm]
6771
write_to = "src/shapiq/_version.py"

0 commit comments

Comments
 (0)