From b7779ad8c485780013fcfee2b85627ee705e8df6 Mon Sep 17 00:00:00 2001 From: Shyue Ping Ong Date: Mon, 31 Jul 2023 21:53:38 -0700 Subject: [PATCH] Exclude type checking from coverage. --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 25cb8e6b..c5874867 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -113,5 +113,6 @@ exclude_lines = [ "pragma: no cover", "raise AssertionError", "raise NotImplementedError", - "input" + "input", + "if TYPE_CHECKING:" ]