Skip to content

Commit

Permalink
Coverage: update to modern config flag
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Aug 28, 2024
1 parent ccc314c commit 21992d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,11 @@ torchgeo = "torchgeo.main:main"
Homepage = "https://github.com/microsoft/torchgeo"
Documentation = "https://torchgeo.readthedocs.io"

# https://coverage.readthedocs.io/en/latest/config.html
[tool.coverage.report]
# Ignore warnings for overloads
# https://github.com/nedbat/coveragepy/issues/970#issuecomment-612602180
exclude_lines = [
"pragma: no cover",
exclude_also = [
"@overload",
]

Expand Down

0 comments on commit 21992d7

Please sign in to comment.