Skip to content

Commit

Permalink
Ignore TYPE_CHECKING imports in coverage reports (#5186)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard authored Feb 15, 2024
1 parent 46dfcf8 commit 7c03955
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ show_missing = true
sort = "Miss"
skip_covered = true
omit = ["conda_build/skeletons/_example_skeleton.py"]
exclude_lines = [
"if TYPE_CHECKING:", # ignoring type checking imports
]

[tool.ruff]
target-version = "py38"
Expand Down

0 comments on commit 7c03955

Please sign in to comment.