Skip to content

Add aliquot_sum.py new function and doctests #13269

Add aliquot_sum.py new function and doctests

Add aliquot_sum.py new function and doctests #13269

Triggered via pull request June 22, 2025 02:07
Status Failure
Total duration 9s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
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: ciphers/hill_cipher.py#L202
ciphers/hill_cipher.py:202:28: SyntaxError: Expected an indented block after function definition
Ruff (W293): ciphers/hill_cipher.py#L192
ciphers/hill_cipher.py:192:1: W293 Blank line contains whitespace
Ruff (W293): ciphers/hill_cipher.py#L159
ciphers/hill_cipher.py:159:1: W293 Blank line contains whitespace
Ruff: ciphers/hill_cipher.py#L147
ciphers/hill_cipher.py:147:9: SyntaxError: Expected an indented block after function definition
Ruff (W293): ciphers/hill_cipher.py#L134
ciphers/hill_cipher.py:134:1: W293 Blank line contains whitespace