Skip to content

Commit 0f0e5b9

Browse files
committed
Ignore type checking lines in coverage report
1 parent 301aa0e commit 0f0e5b9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,8 @@ addopts = """
2828

2929
[tool.mypy]
3030
ignore_missing_imports = true
31+
32+
[tool.coverage.report]
33+
exclude_lines = [
34+
"if TYPE_CHECKING:",
35+
]

0 commit comments

Comments
 (0)