Skip to content

adding sleep_sort.py #16162

adding sleep_sort.py

adding sleep_sort.py #16162

Triggered via pull request October 28, 2025 11:33
Status Failure
Total duration 9s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (UP035): sorts/sleep_sort.py#L20
sorts/sleep_sort.py:20:1: UP035 `typing.List` is deprecated, use `list` instead
Ruff (UP006): data_structures/linked_list/flatten_binary_tree.py#L87
data_structures/linked_list/flatten_binary_tree.py:87:13: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): data_structures/linked_list/flatten_binary_tree.py#L77
data_structures/linked_list/flatten_binary_tree.py:77:42: UP006 Use `list` instead of `List` for type annotation
Ruff (UP045): data_structures/linked_list/flatten_binary_tree.py#L77
data_structures/linked_list/flatten_binary_tree.py:77:19: UP045 Use `X | None` for type annotations
Ruff (UP045): data_structures/linked_list/flatten_binary_tree.py#L50
data_structures/linked_list/flatten_binary_tree.py:50:19: UP045 Use `X | None` for type annotations
Ruff (UP045): data_structures/linked_list/flatten_binary_tree.py#L43
data_structures/linked_list/flatten_binary_tree.py:43:16: UP045 Use `X | None` for type annotations
Ruff (UP045): data_structures/linked_list/flatten_binary_tree.py#L42
data_structures/linked_list/flatten_binary_tree.py:42:15: UP045 Use `X | None` for type annotations
Ruff (UP035): data_structures/linked_list/flatten_binary_tree.py#L25
data_structures/linked_list/flatten_binary_tree.py:25:1: UP035 `typing.List` is deprecated, use `list` instead
Ruff (I001): data_structures/linked_list/flatten_binary_tree.py#L24
data_structures/linked_list/flatten_binary_tree.py:24:1: I001 Import block is un-sorted or un-formatted
Ruff (E501): data_structures/linked_list/flatten_binary_tree.py#L12
data_structures/linked_list/flatten_binary_tree.py:12:89: E501 Line too long (93 > 88)