Skip to content

Commit

Permalink
coverage: exclude typing.TYPE_CHECKING blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
layday committed Jul 3, 2023
1 parent f195bbd commit 9a695f5
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 @@ -87,6 +87,7 @@ source = [
exclude_lines = [
'\#\s*pragma: no cover',
'^\s*raise NotImplementedError\b',
"if typing.TYPE_CHECKING:",
]

[tool.coverage.paths]
Expand Down

0 comments on commit 9a695f5

Please sign in to comment.