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',