Skip to content

Commit 7e4967c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 05a14d1 commit 7e4967c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

sorts/radix_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def radix_sort(list_of_ints: list[int]) -> list[int]:
2525

2626
if any(i < 0 for i in list_of_ints):
2727
raise ValueError("radix_sort only supports non-negative integers")
28-
28+
2929
placement = 1
3030
max_digit = max(list_of_ints)
3131
while placement <= max_digit:

sorts/test_radix_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ def test_radix_sort_multiple_negative_numbers():
5252

5353
def test_radix_sort_matches_sorted():
5454
values = [170, 45, 75, 90, 802, 24, 2, 66]
55-
assert radix_sort(values) == sorted(values)
55+
assert radix_sort(values) == sorted(values)

0 commit comments

Comments
 (0)