From 21992d7ea056760c86babd80337c4b29136baeaf Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Wed, 28 Aug 2024 19:48:14 +0200 Subject: [PATCH] Coverage: update to modern config flag --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fb76fc6eeb7..66d10bab841 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", ]