From efe07730e539f9df7d71d12fc59f8fe1a2de01a1 Mon Sep 17 00:00:00 2001 From: Peter Van Dyken Date: Fri, 23 Feb 2024 15:28:10 -0500 Subject: [PATCH] Switch config to exclude_also --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4069a456..31ff332b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -174,8 +174,7 @@ markers = [ omit = ["snakebids/project_template/**", "snakebids/tests/**"] [tool.coverage.report] -exclude_lines = [ - "pragma: no cover", +exclude_also = [ "@overload", 'class [a-zA-Z0-9_]+\([^)]*Protocol.*\)', 'if TYPE_CHECKING',