Skip to content

Commit

Permalink
Ignore type checking lines in coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
WhyNotHugo committed Sep 25, 2023
1 parent 0682f0d commit f5ca888
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
Expand Up @@ -3,3 +3,8 @@ select = ["E", "F", "W", "I", "B0", "UP", "C4"]
ignore = ["B008"]
line-length = 100
target-version = "py38"

[tool.coverage.report]
exclude_lines = [
"if TYPE_CHECKING:",
]

0 comments on commit f5ca888

Please sign in to comment.