Skip to content

Commit 9964824

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

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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(pairwise(sequence)):

0 commit comments

Comments
 (0)