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 301aa0e commit 0f0e5b9
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 @@ -28,3 +28,8 @@ addopts = """

[tool.mypy]
ignore_missing_imports = true

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

0 comments on commit 0f0e5b9

Please sign in to comment.