Skip to content

I have changed some code in sorts/bubble_sort.py #10750

I have changed some code in sorts/bubble_sort.py

I have changed some code in sorts/bubble_sort.py #10750

Triggered via pull request October 9, 2024 10:36
Status Failure
Total duration 20s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (UP035): sorts/bubble_sort.py#L1
sorts/bubble_sort.py:1:1: UP035 `typing.List` is deprecated, use `list` instead
Ruff (I001): sorts/bubble_sort.py#L1
sorts/bubble_sort.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (UP006): sorts/bubble_sort.py#L3
sorts/bubble_sort.py:3:39: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): sorts/bubble_sort.py#L3
sorts/bubble_sort.py:3:53: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): sorts/bubble_sort.py#L21
sorts/bubble_sort.py:21:39: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): sorts/bubble_sort.py#L21
sorts/bubble_sort.py:21:53: UP006 Use `list` instead of `List` for type annotation
Ruff (W293): sorts/bubble_sort.py#L29
sorts/bubble_sort.py:29:1: W293 Blank line contains whitespace
Ruff (W293): sorts/bubble_sort.py#L36
sorts/bubble_sort.py:36:1: W293 Blank line contains whitespace
Ruff (W293): sorts/bubble_sort.py#L39
sorts/bubble_sort.py:39:1: W293 Blank line contains whitespace
Ruff (RUF005): sorts/bubble_sort.py#L40
sorts/bubble_sort.py:40:12: RUF005 Consider iterable unpacking instead of concatenation