Skip to content

Commit 55be8e8

Browse files
committed
pyproject(coverage) Ignore protocol
1 parent 92e0689 commit 55be8e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ exclude_lines = [
150150
"if TYPE_CHECKING:",
151151
"if t.TYPE_CHECKING:",
152152
"@overload( |$)",
153+
'class .*\bProtocol\):',
153154
"from __future__ import annotations",
154155
"import typing as t",
155156
]

0 commit comments

Comments
 (0)