Numerous significant improvements Beta #13527
Annotations
10 errors
Ruff (UP046):
data_structures/linked_list/skip_list.py#L16
data_structures/linked_list/skip_list.py:16:12: UP046 Generic class `Node` uses `Generic` subclass instead of type parameters
|
Ruff (PLC0415):
data_structures/linked_list/singly_linked_list.py#L495
data_structures/linked_list/singly_linked_list.py:495:5: PLC0415 `import` should be at the top-level of a file
|
Ruff (UP046):
data_structures/heap/randomized_heap.py#L76
data_structures/heap/randomized_heap.py:76:22: UP046 Generic class `RandomizedHeap` uses `Generic` subclass instead of type parameters
|
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 (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 (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#L119
ciphers/hill_cipher.py:119:32: RUF057 Value being rounded is already an integer
|