Skip to content

Commit

Permalink
Ignore TYPE_CHECKING lines for coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
WhyNotHugo committed Oct 14, 2023
1 parent 2227973 commit bd3807e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
[tool.coverage.report]
exclude_lines = [
"if TYPE_CHECKING:",
]

[tool.ruff]
select = [
"F",
Expand Down

0 comments on commit bd3807e

Please sign in to comment.