diff --git a/pyproject.toml b/pyproject.toml index 957587e9..6d729319 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -153,6 +153,12 @@ ignore = ["B008"] [tool.ruff.lint.mccabe] max-complexity = 10 +[tool.coverage.report] +exclude_also = [ + # Imports only used by type checkers + "if TYPE_CHECKING:", +] + [tool.poetry-dynamic-versioning] enable = true style = "pep440"