From 8508e6a9f5ea45dea9b74d735116de6e4218a152 Mon Sep 17 00:00:00 2001 From: Aakash Ashok Naik <91958822+naik-aakash@users.noreply.github.com> Date: Mon, 18 Nov 2024 08:18:45 +0100 Subject: [PATCH] ignore type checking block --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 8fac92b5c..d97846acd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -160,6 +160,7 @@ exclude_lines = [ "pragma: no cover", "def __repr__", "if self.debug:", + "if TYPE_CHECKING:", "if settings.DEBUG", "raise AssertionError", "raise NotImplementedError",