Skip to content

Commit

Permalink
Update coverage exclude config
Browse files Browse the repository at this point in the history
exclude_also was added in version 7.2.0, and we already require 7.5.0
for pyproject.toml support.
  • Loading branch information
yut23 committed Apr 24, 2024
1 parent 69ab9a3 commit f1f89a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,10 @@ yut23_utils = ["src/yut23_utils", "*/yut23-utils/src/yut23_utils"]
tests = ["tests", "*/yut23-utils/tests"]

[tool.coverage.report]
exclude_lines = [
"no cov",
exclude_also = [
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
]

0 comments on commit f1f89a9

Please sign in to comment.