Skip to content

Update data_structures/binary_tree/red_black_tree.py #13562

Update data_structures/binary_tree/red_black_tree.py

Update data_structures/binary_tree/red_black_tree.py #13562

Triggered via pull request July 5, 2025 10:06
Status Failure
Total duration 10s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (W291): data_structures/binary_tree/red_black_tree.py#L14
data_structures/binary_tree/red_black_tree.py:14:73: W291 Trailing whitespace
Ruff (W291): data_structures/binary_tree/red_black_tree.py#L13
data_structures/binary_tree/red_black_tree.py:13:71: W291 Trailing whitespace
Ruff (W291): data_structures/binary_tree/red_black_tree.py#L12
data_structures/binary_tree/red_black_tree.py:12:74: W291 Trailing whitespace
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 (RUF057): ciphers/hill_cipher.py#L82
ciphers/hill_cipher.py:82:32: RUF057 Value being rounded is already an integer
Ruff (PLC0415): ciphers/atbash.py#L43
ciphers/atbash.py:43:5: PLC0415 `import` should be at the top-level of a file