Skip to content

Commit 8138696

Browse files
committed
chore: Exclude TYPE_CHECKING sections from coverage
1 parent 33e5984 commit 8138696

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/schemacode/pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ source = [
9595
[tool.coverage.run]
9696
parallel = true
9797

98+
[tool.coverage.report]
99+
exclude_also = [
100+
"if.*TYPE_CHECKING:",
101+
]
102+
98103
# Release process:
99104
# cd tools/schemacode
100105
# uvx bump-my-version bump pre_label --tag

0 commit comments

Comments
 (0)