Skip to content

Commit 8124aa2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 802a6dc commit 8124aa2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

mypyc/irbuild/for_helpers.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -898,9 +898,11 @@ def gen_condition(self) -> None:
898898
# otherwise jump to the loop exit.
899899
# NOTE: this method is not used when the loop is fully unrolled, but is when the loop is a component of another loop, ie a ForZip
900900
builder = self.builder
901-
comparison = builder.binary_op(builder.read(self.index_target, self.line), Integer(len(self.items)), "<", self.line)
901+
comparison = builder.binary_op(
902+
builder.read(self.index_target, self.line), Integer(len(self.items)), "<", self.line
903+
)
902904
builder.add_bool_branch(comparison, self.body_block, self.loop_exit)
903-
905+
904906
def gen_step(self) -> None:
905907
# NOTE: this method is not used when the loop is fully unrolled, but is when the loop is a component of another loop, ie a ForZip
906908
builder = self.builder

0 commit comments

Comments
 (0)