Skip to content

feat: add recursive bubble sort algorithm with doctests and type hints #15198

feat: add recursive bubble sort algorithm with doctests and type hints

feat: add recursive bubble sort algorithm with doctests and type hints #15198

Triggered via pull request October 11, 2025 08:56
Status Failure
Total duration 8s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
ruff
Process completed with exit code 1.
Ruff (RUF005): sorts/bubble_sort_recursive.py#L34
sorts/bubble_sort_recursive.py:34:12: RUF005 Consider `[*bubble_sort_recursive(arr[:-1]), arr[-1]]` instead of concatenation
Ruff (UP006): sorts/bubble_sort_recursive.py#L4
sorts/bubble_sort_recursive.py:4:46: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): sorts/bubble_sort_recursive.py#L4
sorts/bubble_sort_recursive.py:4:32: UP006 Use `list` instead of `List` for type annotation
Ruff (UP035): sorts/bubble_sort_recursive.py#L1
sorts/bubble_sort_recursive.py:1:1: UP035 `typing.List` is deprecated, use `list` instead