Skip to content

Commit

Permalink
Blind fix for coverage failing in GitHub Actions.
Browse files Browse the repository at this point in the history
It doesn't fail locally.
  • Loading branch information
aaugustin committed Oct 13, 2024
1 parent b2f0a76 commit e5182c9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,19 @@ source = [

[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"except ImportError:",
"if self.debug:",
"if sys.platform != \"win32\":",
"if typing.TYPE_CHECKING:",
"pragma: no cover",
"raise AssertionError",
"self.fail\\(\".*\"\\)",
"@unittest.skip",
]
partial_branches = [
"pragma: no branch",
"with self.assertRaises\\(.*\\)",
]

[tool.ruff]
target-version = "py312"
Expand Down

0 comments on commit e5182c9

Please sign in to comment.