Add aliquot_sum.py new function and doctests #13272
Annotations
10 errors
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 (PLC0415):
data_structures/binary_tree/binary_search_tree.py#L118
data_structures/binary_tree/binary_search_tree.py:118:9: PLC0415 `import` should be at the top-level of a file
|
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#L172
ciphers/shuffled_shift_cipher.py:172:32: PT028 Test function parameter `msg` has default argument
|
Ruff (RUF046):
ciphers/hill_cipher.py#L119
ciphers/hill_cipher.py:119:37: RUF046 Value being cast to `int` is already an integer
|
Ruff (RUF046):
ciphers/hill_cipher.py#L89
ciphers/hill_cipher.py:89:37: RUF046 Value being cast to `int` is already an integer
|
Ruff (EM102):
ciphers/hill_cipher.py#L67
ciphers/hill_cipher.py:67:30: EM102 Exception must not use an f-string literal, assign to variable first
|
Ruff (I001):
ciphers/hill_cipher.py#L37
ciphers/hill_cipher.py:37:1: I001 Import block is un-sorted or un-formatted
|