Skip to content

Commit

Permalink
chore: update coverage config
Browse files Browse the repository at this point in the history
  • Loading branch information
DeadNews committed Jun 24, 2023
1 parent 2aa2f67 commit 040341c
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 @@ -59,7 +59,11 @@ testpaths = ["tests"]
markers = ["docker", "key_required"]

[tool.coverage.report]
exclude_lines = ["if TYPE_CHECKING:", "if __name__ == .__main__.:"]
exclude_lines = [
"# pragma: no cover",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]

[tool.ruff]
line-length = 99
Expand Down

0 comments on commit 040341c

Please sign in to comment.