Skip to content

Commit

Permalink
Ignore 'if TYPE_CHECKING:' in coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Feb 28, 2025
1 parent a8e8506 commit 4b9b68f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
exclude_also =
# Don't complain if non-runnable code isn't run:
if __name__ == .__main__.:
if TYPE_CHECKING:

[run]
omit =
Expand Down

0 comments on commit 4b9b68f

Please sign in to comment.