Coverage: update to modern config flag (#2260)

This commit is contained in:
Adam J. Stewart 2024-08-28 20:09:14 +02:00 коммит произвёл GitHub
Родитель ccc314cd88
Коммит e8e309f05b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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",
]