Skip to content

Commit 13f427a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent dc208b6 commit 13f427a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sorts/bead_sort.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def bead_sort(sequence: list) -> list:
2929
TypeError: Sequence must be list of non-negative integers
3030
"""
3131
from itertools import pairwise
32+
3233
if any(not isinstance(x, int) or x < 0 for x in sequence):
3334
raise TypeError("Sequence must be list of non-negative integers")
3435
for i, (rod_upper, rod_lower) in enumerate(zip(sequence, sequence[1:])):

0 commit comments

Comments
 (0)