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
wRAR committed Feb 2, 2025
1 parent b8836d8 commit ac9b0eb
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 @@ -15,6 +15,7 @@ exclude_also = [
"def __repr__",
"if sys.version_info",
"if __name__ == '__main__':",
"if TYPE_CHECKING:",
]

[tool.mypy]
Expand Down

0 comments on commit ac9b0eb

Please sign in to comment.