From 44e6c33ed5faf309ff9d3da97b20017a0d0241c8 Mon Sep 17 00:00:00 2001 From: esoteric-ephemera Date: Tue, 26 Nov 2024 08:57:34 -0800 Subject: [PATCH] exclude type checking block --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) 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]