Skip to content

Commit 54ad04e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5ce8148 commit 54ad04e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

mypyc/irbuild/for_helpers.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,11 @@ def need_cleanup(self) -> bool:
11691169
return True
11701170

11711171
def init(self, index: Lvalue, func: Expression, iterable: Expression) -> None:
1172-
if isinstance(func, NameExpr) and isinstance(func.node, Var) and func.node.fullname == "builtins.None":
1172+
if (
1173+
isinstance(func, NameExpr)
1174+
and isinstance(func.node, Var)
1175+
and func.node.fullname == "builtins.None"
1176+
):
11731177
self.filter_func = None
11741178
else:
11751179
self.filter_func = self.builder.accept(func)

0 commit comments

Comments
 (0)