Skip to content

Commit 2a9c002

Browse files
donbarbossrittau
andauthored
Apply suggestions from code review
Co-authored-by: Sebastian Rittau <sebastian.rittau@zfutura.de>
1 parent 74832c6 commit 2a9c002

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stubs/boltons/boltons/funcutils.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import functools
2-
from _typeshed import Incomplete
2+
from _typeshed import Incomplete, Unused
33
from collections.abc import Callable
44
from functools import total_ordering as total_ordering
55
from typing import TypeVar
@@ -64,5 +64,5 @@ class FunctionBuilder:
6464
class MissingArgument(ValueError): ...
6565
class ExistingArgument(ValueError): ...
6666

67-
def noop(*args, **kwargs) -> None: ...
67+
def noop(*args: Unused, **kwargs: Unused) -> None: ...
6868
def once(func: Callable[[], _R]) -> Callable[[], _R]: ...

0 commit comments

Comments
 (0)