Skip to content

Commit 2e784e5

Browse files
sambacc: do not require coverage for protocol types
Signed-off-by: John Mulligan <[email protected]>
1 parent 1e7a2f0 commit 2e784e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sambacc/leader.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class LeaderStatus(typing.Protocol):
2525
"""Fetches information about the current cluster leader."""
2626

2727
def is_leader(self) -> bool:
28-
...
28+
... # pragma: no cover
2929

3030

3131
class LeaderLocator(typing.Protocol):
@@ -35,9 +35,9 @@ class LeaderLocator(typing.Protocol):
3535
"""
3636

3737
def __enter__(self) -> LeaderStatus:
38-
...
38+
... # pragma: no cover
3939

4040
def __exit__(
4141
self, exc_type: ExcType, exc_val: ExcValue, exc_tb: ExcTraceback
4242
) -> bool:
43-
...
43+
... # pragma: no cover

0 commit comments

Comments
 (0)