Skip to content

Enhance bubble sort docstrings and type hints #14074

Enhance bubble sort docstrings and type hints

Enhance bubble sort docstrings and type hints #14074

Triggered via pull request September 13, 2025 13:12
Status Failure
Total duration 11s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
ruff
Process completed with exit code 1.
Ruff (UP047): sorts/bubble_sort.py#L58
sorts/bubble_sort.py:58:5: UP047 Generic function `bubble_sort_recursive` should use type parameters
Ruff (UP047): sorts/bubble_sort.py#L5
sorts/bubble_sort.py:5:5: UP047 Generic function `bubble_sort_iterative` should use type parameters
Ruff (F401): sorts/bubble_sort.py#L1
sorts/bubble_sort.py:1:20: F401 `typing.Sequence` imported but unused
Ruff (I001): sorts/bubble_sort.py#L1
sorts/bubble_sort.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (UP035): sorts/bubble_sort.py#L1
sorts/bubble_sort.py:1:1: UP035 Import from `collections.abc` instead: `Sequence`