Add aliquot_sum.py new function and doctests #13352
Annotations
10 errors
Run uvx ruff check --output-format=github .:
data_structures/heap/skew_heap.py#L11
data_structures/heap/skew_heap.py:11:16: UP046 Generic class `SkewNode` uses `Generic` subclass instead of type parameters
|
Run uvx ruff check --output-format=github .:
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
|
Run uvx ruff check --output-format=github .:
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
|
Run uvx ruff check --output-format=github .:
data_structures/heap/heap.py#L25
data_structures/heap/heap.py:25:12: UP046 Generic class `Heap` uses `Generic` subclass instead of type parameters
|
Run uvx ruff check --output-format=github .:
data_structures/heap/heap.py#L8
data_structures/heap/heap.py:8:7: PLW1641 Object does not implement `__hash__` method
|
Run uvx ruff check --output-format=github .:
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
|
Run uvx ruff check --output-format=github .:
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
|
Run uvx ruff check --output-format=github .:
data_structures/binary_tree/red_black_tree.py#L488
data_structures/binary_tree/red_black_tree.py:488:9: PLC0415 `import` should be at the top-level of a file
|
Run uvx ruff check --output-format=github .:
data_structures/binary_tree/red_black_tree.py#L6
data_structures/binary_tree/red_black_tree.py:6:7: PLW1641 Object does not implement `__hash__` method
|
Run uvx ruff check --output-format=github .:
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
|
Loading