From 56f54335890749de8b051b54b58a85c2d5713674 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 05:29:32 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- data_structures/arrays/search_range.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_structures/arrays/search_range.py b/data_structures/arrays/search_range.py index 2237756c9..bfc7c6f7c 100644 --- a/data_structures/arrays/search_range.py +++ b/data_structures/arrays/search_range.py @@ -27,7 +27,7 @@ def search_range(nums: list[int], target: int) -> list[int]: [1, 1] """ - def binary_search(nums:list, target:int, left:bool) -> int: + def binary_search(nums: list, target: int, left: bool) -> int: """ >>> binary_search([1, 2, 3, 4, 5], 3, leftmost=True) 2