Skip to content

Commit

Permalink
fix Static checks, mypy, docs / Static checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeeD authored Sep 10, 2024
1 parent 372d09b commit 11c2ebd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dev/mypy/plugin/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,7 @@ def _treat_as_no_kwargs(self, context: MethodSigContext, /) -> FunctionLike:
context.default_signature.unpack_kwargs,
)

def get_method_signature_hook(
self, fullname: str
) -> Callable[[MethodSigContext], FunctionLike] | None:
def get_method_signature_hook(self, fullname: str) -> Callable[[MethodSigContext], FunctionLike] | None:
if fullname not in TASK_CALL_FUNCTIONS:
return None
return self._treat_as_no_kwargs
Expand Down

0 comments on commit 11c2ebd

Please sign in to comment.