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 and potiuk committed Dec 13, 2024
1 parent 933edc6 commit e2d2066
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 @@ -111,9 +111,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 e2d2066

Please sign in to comment.