Skip to content

Added Splay Tree implementation in Python #16209

Added Splay Tree implementation in Python

Added Splay Tree implementation in Python #16209

Triggered via pull request October 30, 2025 10:47
Status Failure
Total duration 11s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (PLR5501): data_structures/binary_tree/splay_tree.py#L77
data_structures/binary_tree/splay_tree.py:77:13: PLR5501 Use `elif` instead of `else` then `if`, to reduce indentation
Ruff (W293): data_structures/binary_tree/splay_tree.py#L76
data_structures/binary_tree/splay_tree.py:76:1: W293 Blank line contains whitespace
Ruff (E501): data_structures/binary_tree/splay_tree.py#L71
data_structures/binary_tree/splay_tree.py:71:89: E501 Line too long (90 > 88)
Ruff (W293): data_structures/binary_tree/splay_tree.py#L68
data_structures/binary_tree/splay_tree.py:68:1: W293 Blank line contains whitespace
Ruff (W293): data_structures/binary_tree/splay_tree.py#L62
data_structures/binary_tree/splay_tree.py:62:1: W293 Blank line contains whitespace
Ruff (W293): data_structures/binary_tree/splay_tree.py#L56
data_structures/binary_tree/splay_tree.py:56:1: W293 Blank line contains whitespace
Ruff (W293): data_structures/binary_tree/splay_tree.py#L47
data_structures/binary_tree/splay_tree.py:47:1: W293 Blank line contains whitespace
Ruff (W293): data_structures/binary_tree/splay_tree.py#L35
data_structures/binary_tree/splay_tree.py:35:1: W293 Blank line contains whitespace
Ruff (W293): data_structures/binary_tree/splay_tree.py#L26
data_structures/binary_tree/splay_tree.py:26:1: W293 Blank line contains whitespace
Ruff (W293): data_structures/binary_tree/splay_tree.py#L18
data_structures/binary_tree/splay_tree.py:18:1: W293 Blank line contains whitespace