diff --git a/pyproject.toml b/pyproject.toml index 5af4a492..a8763011 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,6 +55,10 @@ omit = [ omit = [ "*/tmp/*", ] +exclude_lines = [ + # Don't complain about type checking imports: + "if TYPE_CHECKING:" +] [tool.coverage.paths] source = [