Skip to content

Commit

Permalink
Exclude @overload and if TYPE_CHECKING: from coverage checks
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Oct 24, 2024
1 parent d841597 commit 9254a4f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ testpaths = ["test"]
[tool.coverage.run]
source = ["wheel"]
omit = ["*/vendored/*"]
exclude_also = [
"@overload",
"if TYPE_CHECKING:"
]

[tool.coverage.report]
show_missing = true
Expand Down

0 comments on commit 9254a4f

Please sign in to comment.