From 8a20f5fc32ba61957aad701b3f5690b973042d09 Mon Sep 17 00:00:00 2001 From: Hassan Kibirige Date: Mon, 12 Feb 2024 14:55:06 +0300 Subject: [PATCH] TST: Exclude typechecking branch from coverage --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index c5352bb..b968296 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -123,6 +123,7 @@ exclude_also = [ "^def test_", "if __name__ == .__main__.:", "while k < float\\('inf'\\):", + "if TYPE_CHECKING:", "if typing.TYPE_CHECKING:", "except ImportError:", "except PackageNotFoundError:",