Numerous significant improvements Beta #13492
Annotations
10 errors
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 (W291):
data_structures/binary_tree/red_black_tree.py#L344
data_structures/binary_tree/red_black_tree.py:344:63: W291 Trailing whitespace
|
Ruff:
data_structures/binary_tree/red_black_tree.py#L340
data_structures/binary_tree/red_black_tree.py:340:9: SyntaxError: Expected an indented block after function definition
|
Ruff (W293):
data_structures/binary_tree/red_black_tree.py#L338
data_structures/binary_tree/red_black_tree.py:338:1: W293 Blank line contains 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 (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
|
Ruff (I001):
data_structures/binary_tree/avl_tree.py#L9
data_structures/binary_tree/avl_tree.py:9:1: I001 Import block is un-sorted or un-formatted
|
Ruff (PT028):
ciphers/shuffled_shift_cipher.py#L169
ciphers/shuffled_shift_cipher.py:169: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
|