Skip to content

Add aliquot_sum.py new function and doctests #13305

Add aliquot_sum.py new function and doctests

Add aliquot_sum.py new function and doctests #13305

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

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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 (RUF005): data_structures/binary_tree/binary_search_tree.py#L83
data_structures/binary_tree/binary_search_tree.py:83:12: RUF005 Consider iterable unpacking instead of concatenation
Ruff (EM102): data_structures/binary_tree/binary_search_tree.py#L65
data_structures/binary_tree/binary_search_tree.py:65:30: EM102 Exception must not use an f-string literal, assign to variable first
Ruff (F401): data_structures/binary_tree/binary_search_tree.py#L5
data_structures/binary_tree/binary_search_tree.py:5:25: F401 `typing.Self` imported but unused
Ruff (F401): data_structures/binary_tree/binary_search_tree.py#L5
data_structures/binary_tree/binary_search_tree.py:5:20: F401 `typing.Any` imported but unused
Ruff (F401): data_structures/binary_tree/binary_search_tree.py#L3
data_structures/binary_tree/binary_search_tree.py:3:39: F401 `collections.abc.Iterator` imported but unused
Ruff (F401): data_structures/binary_tree/binary_search_tree.py#L3
data_structures/binary_tree/binary_search_tree.py:3:29: F401 `collections.abc.Iterable` imported but unused
Ruff (I001): data_structures/binary_tree/binary_search_tree.py#L1
data_structures/binary_tree/binary_search_tree.py:1:1: I001 Import block is un-sorted or un-formatted