Skip to content

Commit

Permalink
Coverage: update to modern config flag (#2260)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart authored Aug 28, 2024
1 parent ccc314c commit e8e309f
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 e8e309f

Please sign in to comment.