Skip to content

Commit

Permalink
pyproject(tool.coverage.report) Refine exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Jan 4, 2025
1 parent 9fa888c commit 6e1ceca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,10 @@ exclude_also = [
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"if t.TYPE_CHECKING:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
"from __future__ import annotations",
]

0 comments on commit 6e1ceca

Please sign in to comment.