Skip to content

feat: add Splay Tree implementation in data_structures/binary_tree #16182

feat: add Splay Tree implementation in data_structures/binary_tree

feat: add Splay Tree implementation in data_structures/binary_tree #16182

Triggered via pull request October 29, 2025 09:32
Status Failure
Total duration 15s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (RUF005): data_structures/binary_tree/splay_tree.py#L129
data_structures/binary_tree/splay_tree.py:129:36: RUF005 Consider iterable unpacking instead of concatenation
Ruff (UP006): data_structures/binary_tree/splay_tree.py#L127
data_structures/binary_tree/splay_tree.py:127:48: UP006 Use `list` instead of `List` for type annotation
Ruff (UP045): data_structures/binary_tree/splay_tree.py#L127
data_structures/binary_tree/splay_tree.py:127:29: UP045 Use `X | None` for type annotations
Ruff (UP045): data_structures/binary_tree/splay_tree.py#L45
data_structures/binary_tree/splay_tree.py:45:57: UP045 Use `X | None` for type annotations
Ruff (UP045): data_structures/binary_tree/splay_tree.py#L45
data_structures/binary_tree/splay_tree.py:45:28: UP045 Use `X | None` for type annotations
Ruff (UP045): data_structures/binary_tree/splay_tree.py#L29
data_structures/binary_tree/splay_tree.py:29:20: UP045 Use `X | None` for type annotations
Ruff (UP045): data_structures/binary_tree/splay_tree.py#L22
data_structures/binary_tree/splay_tree.py:22:21: UP045 Use `X | None` for type annotations
Ruff (UP045): data_structures/binary_tree/splay_tree.py#L21
data_structures/binary_tree/splay_tree.py:21:20: UP045 Use `X | None` for type annotations
Ruff (UP035): data_structures/binary_tree/splay_tree.py#L13
data_structures/binary_tree/splay_tree.py:13:1: UP035 `typing.List` is deprecated, use `list` instead
Ruff (I001): data_structures/binary_tree/splay_tree.py#L12
data_structures/binary_tree/splay_tree.py:12:1: I001 Import block is un-sorted or un-formatted