diff --git a/pyproject.toml b/pyproject.toml index 196c0b227..88bdfa5ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -177,6 +177,7 @@ exclude_lines = [ '^\s*@overload( |$)', '^\s*assert False(,|$)', 'if typing.TYPE_CHECKING:', + 'if TYPE_CHECKING:', ] [tool.ruff]