Skip to content

Commit c1fbc9d

Browse files
committed
Add docstrings to satisfy D101
1 parent 7466a60 commit c1fbc9d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

classes/_typeclass.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@
119119
from functools import _find_impl # type: ignore # noqa: WPS450
120120
from typing import ( # noqa: WPS235
121121
TYPE_CHECKING,
122-
Any,
123122
Callable,
124123
Dict,
125124
Generic,
@@ -301,7 +300,10 @@ class Supports(Generic[_AssociatedTypeDef]):
301300

302301

303302
class Callback(Protocol):
304-
def __call__(self, instance, *args, **kwargs) -> _ReturnType: ...
303+
"""Complex function annotation, with variadic params."""
304+
305+
def __call__(self, instance, *args, **kwargs) -> _ReturnType:
306+
"""Complex function annotation, with variadic params."""
305307

306308

307309
@final # noqa: WPS214

0 commit comments

Comments
 (0)