diff --git a/pyproject.toml b/pyproject.toml index cfa0392..16090f1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -152,6 +152,11 @@ target-version = [ "py39", ] +[tool.coverage.report] +exclude_also = [ + "if TYPE_CHECKING:", +] + [tool.coverage.run] branch = true omit = ["version.py"]