Fix bubble sort logic and add comments #16855
Annotations
7 errors
|
ruff
Process completed with exit code 1.
|
|
Ruff (UP006):
sorts/bubble_sort.py#L46
sorts/bubble_sort.py:46:53: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP006):
sorts/bubble_sort.py#L46
sorts/bubble_sort.py:46:39: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (PIE808):
sorts/bubble_sort.py#L35
sorts/bubble_sort.py:35:24: PIE808 Unnecessary `start` argument in `range`
|
|
Ruff (UP006):
sorts/bubble_sort.py#L19
sorts/bubble_sort.py:19:53: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP006):
sorts/bubble_sort.py#L19
sorts/bubble_sort.py:19:39: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP035):
sorts/bubble_sort.py#L1
sorts/bubble_sort.py:1:1: UP035 `typing.List` is deprecated, use `list` instead
|