Add usage example in README file #16358
Annotations
7 errors
|
ruff
Process completed with exit code 1.
|
|
Ruff (SIM108):
data_structures/binary_tree/splay_tree.py#L125
data_structures/binary_tree/splay_tree.py:125:13: SIM108 Use ternary operator `current = current.left if key < current.key else current.right` instead of `if`-`else`-block
|
|
Ruff (UP045):
data_structures/binary_tree/splay_tree.py#L36
data_structures/binary_tree/splay_tree.py:36:20: UP045 Use `X | None` for type annotations
|
|
Ruff (UP045):
data_structures/binary_tree/splay_tree.py#L24
data_structures/binary_tree/splay_tree.py:24:16: UP045 Use `X | None` for type annotations
|
|
Ruff (UP045):
data_structures/binary_tree/splay_tree.py#L23
data_structures/binary_tree/splay_tree.py:23:15: 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:17: UP045 Use `X | None` for type annotations
|
|
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
|