From ad758b070726c7bd5d62a1f17cbed639a0593574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20F=C3=B6rster?= Date: Fri, 14 Mar 2025 08:57:41 +0100 Subject: [PATCH] add coverage exclusions --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1b23dc3..4258a80 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,10 +61,11 @@ exclude_also = [ "def __str__", "@overload", "if logging", - "if TYPE_CHECKING", + 'if [t\.]*TYPE_CHECKING', "@pytest.fixture", "if __name__ == __main__:", "@wrap_result", + 'if [\w.]*status != STATUS_HANDLER.SUCCESS', ] [tool.coverage.html]