Add sign function to maths module #17208
Annotations
5 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
help: Use type parameters
|
|
ruff (PYI041):
maths/sign.py#L4
maths/sign.py:4:15: PYI041 Use `float` instead of `int | float`
help: Remove redundant type
|
|
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
help: Use type parameters
|
|
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
help: Replace with `deque()`
|