add coverage exclusions

This commit is contained in:
Florian Förster 2025-03-14 08:57:41 +01:00
parent 72aa1c4454
commit ad758b0707

View File

@ -61,10 +61,11 @@ exclude_also = [
"def __str__", "def __str__",
"@overload", "@overload",
"if logging", "if logging",
"if TYPE_CHECKING", 'if [t\.]*TYPE_CHECKING',
"@pytest.fixture", "@pytest.fixture",
"if __name__ == __main__:", "if __name__ == __main__:",
"@wrap_result", "@wrap_result",
'if [\w.]*status != STATUS_HANDLER.SUCCESS',
] ]
[tool.coverage.html] [tool.coverage.html]