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 b08318a commit b7587f4
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 @@ -100,3 +100,8 @@ ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = "tests"
addopts = "--cov=todoman --cov-report=term-missing --color=yes --verbose"

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

0 comments on commit b7587f4

Please sign in to comment.