Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Oct 17, 2024
1 parent 7fbe43a commit cfce08b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyi.py
Original file line number Diff line number Diff line change
Expand Up @@ -2123,7 +2123,9 @@ def check_self_typevars(self, node: ast.FunctionDef | ast.AsyncFunctionDef) -> N
return_annotation=return_annotation,
)

def check_protocol_param_kinds(self, node: ast.FunctionDef | ast.AsyncFunctionDef) -> None:
def check_protocol_param_kinds(
self, node: ast.FunctionDef | ast.AsyncFunctionDef
) -> None:
for pos_or_kw in node.args.args[1:]: # exclude "self"
if pos_or_kw.arg.startswith("__"):
continue
Expand Down

0 comments on commit cfce08b

Please sign in to comment.