diff --git a/pyproject.toml b/pyproject.toml index 728b771f0..0c4cb0a57 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -112,3 +112,8 @@ ignore = [ "F841", # local variable 'name' is assigned to but never used "E702", # multiple statements on one line (semicolon) ] + +[tool.coverage.report] +exclude_also = [ + "if TYPE_CHECKING:" +]