Numerous significant improvements Beta #13485
Annotations
10 errors
Ruff (UP046):
data_structures/heap/randomized_heap.py#L12
data_structures/heap/randomized_heap.py:12:26: UP046 Generic class `RandomizedHeapNode` uses `Generic` subclass instead of type parameters
|
Ruff (UP046):
data_structures/heap/heap.py#L25
data_structures/heap/heap.py:25:12: UP046 Generic class `Heap` uses `Generic` subclass instead of type parameters
|
Ruff (PLW1641):
data_structures/heap/heap.py#L8
data_structures/heap/heap.py:8:7: PLW1641 Object does not implement `__hash__` method
|
Ruff (UP046):
data_structures/hashing/hash_map.py#L20
data_structures/hashing/hash_map.py:20:13: UP046 Generic class `_Item` uses `Generic` subclass instead of type parameters
|
Ruff (PLC0415):
data_structures/binary_tree/treap.py#L19
data_structures/binary_tree/treap.py:19:9: PLC0415 `import` should be at the top-level of a file
|
Ruff (UP046):
data_structures/binary_tree/non_recursive_segment_tree.py#L47
data_structures/binary_tree/non_recursive_segment_tree.py:47:19: UP046 Generic class `SegmentTree` uses `Generic` subclass instead of type parameters
|
Ruff (W293):
data_structures/binary_tree/diff_views_of_binary_tree.py#L176
data_structures/binary_tree/diff_views_of_binary_tree.py:176:1: W293 Blank line contains whitespace
|
Ruff (PLC0415):
data_structures/binary_tree/avl_tree.py#L333
data_structures/binary_tree/avl_tree.py:333:5: PLC0415 `import` should be at the top-level of a file
|
Ruff (PT028):
ciphers/shuffled_shift_cipher.py#L169
ciphers/shuffled_shift_cipher.py:169:32: PT028 Test function parameter `msg` has default argument
|
Ruff (RUF057):
ciphers/hill_cipher.py#L82
ciphers/hill_cipher.py:82:32: RUF057 Value being rounded is already an integer
|