Skip to content

Commit db8484a

Browse files
committed
Fix ruff E501: wrap binary_search parameters to respect 88 char limit
1 parent ad806f9 commit db8484a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sorts/tim_sort.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
def binary_search(lst: list[float | str], item: float | str, start: int, end: int) -> int:
1+
def binary_search(lst: list[float | str],
2+
item: float | str,
3+
start: int,
4+
end: int
5+
) -> int:
26
if start == end:
37
return start if lst[start] > item else start + 1
48
if start > end:

0 commit comments

Comments
 (0)