Refactor gradient_descent.py with full type hints and documentation #17070
Annotations
6 errors
|
ruff
Process completed with exit code 1.
|
|
ruff (UP047):
searches/jump_search.py#L23
searches/jump_search.py:23:5: UP047 Generic function `jump_search` should use type parameters
|
|
ruff (UP047):
machine_learning/linear_discriminant_analysis.py#L255
machine_learning/linear_discriminant_analysis.py:255:5: UP047 Generic function `valid_input` should use type parameters
|
|
ruff (UP035):
machine_learning/gradient_descent.py#L9
machine_learning/gradient_descent.py:9:1: UP035 Import from `collections.abc` instead: `Sequence`
|
|
ruff (I001):
machine_learning/gradient_descent.py#L6
machine_learning/gradient_descent.py:6:1: I001 Import block is un-sorted or un-formatted
|
|
ruff (RUF037):
data_structures/hashing/hash_table_with_linked_list.py#L11
data_structures/hashing/hash_table_with_linked_list.py:11:28: RUF037 Unnecessary empty iterable within a deque call
|