diff --git a/pyproject.toml b/pyproject.toml index 8a1ad5d17..3384b141d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -112,7 +112,7 @@ branch = true [tool.coverage.report] -exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:"] +exclude_also = ["if TYPE_CHECKING:"] [tool.pytest.ini_options]