Skip to content

Commit

Permalink
exclude type_checking blocks from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
frazane committed Nov 30, 2023
1 parent 2ef250b commit d30d783
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ fail_under = 50
precision = 1
show_missing = true
skip_covered = true
exclude_lines = ["if TYPE_CHECKING:"]

[tool.coverage.run] # https://coverage.readthedocs.io/en/latest/config.html#run
branch = true
Expand Down

0 comments on commit d30d783

Please sign in to comment.