Skip to content

Commit 0bb8e0e

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mypyc/irbuild/for_helpers.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,9 @@ def make_for_loop_generator(
471471
start_reg = builder.accept(expr.args[0])
472472
end_reg = builder.accept(expr.args[1])
473473
step = 1 if num_args == 2 else builder.extract_int(expr.args[2])
474-
assert isinstance(step, int), "this was validated above, the assert is for mypy"
474+
assert isinstance(
475+
step, int
476+
), "this was validated above, the assert is for mypy"
475477

476478
for_range = ForRange(builder, index, body_block, loop_exit, line, nested)
477479
for_range.init(start_reg, end_reg, step)

0 commit comments

Comments
 (0)