Add aliquot_sum.py new function and doctests #13310
Annotations
10 errors
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 (PLC0415):
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
|
Ruff (PLW1641):
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
|
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 (PLC0415):
data_structures/binary_tree/diff_views_of_binary_tree.py#L176
data_structures/binary_tree/diff_views_of_binary_tree.py:176:5: PLC0415 `import` should be at the top-level of a file
|
Ruff (RUF003):
data_structures/binary_tree/binary_search_tree.py#L185
data_structures/binary_tree/binary_search_tree.py:185:24: RUF003 Comment contains ambiguous `:` (FULLWIDTH COLON). Did you mean `:` (COLON)?
|
Ruff (W291):
data_structures/binary_tree/binary_search_tree.py#L96
data_structures/binary_tree/binary_search_tree.py:96:49: W291 Trailing whitespace
|
Ruff (I001):
data_structures/binary_tree/binary_search_tree.py#L92
data_structures/binary_tree/binary_search_tree.py:92:1: I001 Import block is un-sorted or un-formatted
|