feat: Add Splay Tree implementation in Python #16309
Annotations
10 errors
|
Ruff (PT009):
data_structures/trees/splay_tree_test.py#L24
data_structures/trees/splay_tree_test.py:24:9: PT009 Use a regular `assert` instead of unittest-style `assertIsNotNone`
|
|
Ruff (E501):
data_structures/trees/splay_tree_test.py#L13
data_structures/trees/splay_tree_test.py:13:89: E501 Line too long (99 > 88)
|
|
Ruff (PT009):
data_structures/trees/splay_tree_test.py#L13
data_structures/trees/splay_tree_test.py:13:13: PT009 Use a regular `assert` instead of unittest-style `assertEqual`
|
|
Ruff (I001):
data_structures/trees/splay_tree_test.py#L3
data_structures/trees/splay_tree_test.py:3:1: I001 Import block is un-sorted or un-formatted
|
|
Ruff (INP001):
data_structures/trees/splay_tree_test.py#L1
data_structures/trees/splay_tree_test.py:1:1: INP001 File `data_structures/trees/splay_tree_test.py` is part of an implicit namespace package. Add an `__init__.py`.
|
|
Ruff (W291):
data_structures/trees/splay_tree.py#L114
data_structures/trees/splay_tree.py:114:30: W291 Trailing whitespace
|
|
Ruff (E501):
data_structures/trees/splay_tree.py#L69
data_structures/trees/splay_tree.py:69:89: E501 Line too long (91 > 88)
|
|
Ruff (E501):
data_structures/trees/splay_tree.py#L68
data_structures/trees/splay_tree.py:68:89: E501 Line too long (90 > 88)
|
|
Ruff (E501):
data_structures/trees/splay_tree.py#L49
data_structures/trees/splay_tree.py:49:89: E501 Line too long (93 > 88)
|
|
Ruff (INP001):
data_structures/trees/splay_tree.py#L1
data_structures/trees/splay_tree.py:1:1: INP001 File `data_structures/trees/splay_tree.py` is part of an implicit namespace package. Add an `__init__.py`.
|