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__",
"@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]