Skip to content

Commit

Permalink
exclude exception handling for AssertionError in coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
cleder committed Jan 29, 2024
1 parent 72b05a1 commit 3e1a028
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ source = [
[tool.coverage.report]
exclude_also = [
"^\\s*\\.\\.\\.$",
"except AssertionError:",
"except ImportError:",
"if TYPE_CHECKING:",
]
Expand Down

0 comments on commit 3e1a028

Please sign in to comment.