Skip to content

Commit 0c45389

Browse files
committed
Stop checking type checking blocks on coverage
1 parent 3281056 commit 0c45389

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ profile = "black"
128128
omit = ["*tests*"]
129129

130130
[tool.coverage.report]
131-
exclude_lines = ["pragma: no cover"]
131+
exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:"]
132132

133133
[tool.ruff]
134134
line-length = 88

0 commit comments

Comments
 (0)