Skip to content

Fix bubble sort logic and add comments #16855

Fix bubble sort logic and add comments

Fix bubble sort logic and add comments #16855

Triggered via pull request January 17, 2026 17:17
Status Failure
Total duration 13s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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