Skip to content

Commit 2f3ff7f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent dcf2e1a commit 2f3ff7f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mypyc/irbuild/constant_fold.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@ def constant_fold_binary_op_extended(
127127
return None
128128

129129

130-
def constant_fold_container_items(builder: IRBuilder, expr: ListExpr | TupleExpr) -> list[ConstantValue] | None:
130+
def constant_fold_container_items(
131+
builder: IRBuilder, expr: ListExpr | TupleExpr
132+
) -> list[ConstantValue] | None:
131133
folded_items = [constant_fold_expr(builder, item_expr) for item_expr in expr.items]
132134
if all(isinstance(item, ConstantValue) for item in folded_items):
133135
return folded_items

0 commit comments

Comments
 (0)