Skip to content

Commit 5237f0b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 71b27ef commit 5237f0b

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
@@ -1170,7 +1170,11 @@ def need_cleanup(self) -> bool:
11701170

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

0 commit comments

Comments
 (0)