From 97aa418474cf5e1fa7762f2f77726e223c2865f2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 18:37:04 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- sorts/adaptive_merge_sort.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sorts/adaptive_merge_sort.py b/sorts/adaptive_merge_sort.py index a3a7f4dc2..6c44baf80 100644 --- a/sorts/adaptive_merge_sort.py +++ b/sorts/adaptive_merge_sort.py @@ -24,7 +24,7 @@ def adaptive_merge_sort_helper(array: list, aux: list, low: int, high: int): if array[mid] <= array[mid + 1]: print(f"Skipping merge as array[{mid}] <= array[{mid + 1}]") - array[low:high + 1] = aux[low:high + 1] + array[low : high + 1] = aux[low : high + 1] return merge(array, aux, low, mid, high)