Skip to content

Commit 03e45c0

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 24b3d84 commit 03e45c0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎sorts/power_sort.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ def _find_run(
8383
arr[start:run_end] = reversed(arr[start:run_end])
8484
else:
8585
# Ascending run
86-
while run_end < end and not (key_func(arr[run_end]) < key_func(arr[run_end - 1])):
86+
while run_end < end and not (
87+
key_func(arr[run_end]) < key_func(arr[run_end - 1])
88+
):
8789
run_end += 1
8890

8991
return run_end

0 commit comments

Comments
 (0)