diff --git a/pyproject.toml b/pyproject.toml index 45628b05..6cf58061 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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