Skip to content

ENH: Add vectorized searchsorted #1689

ENH: Add vectorized searchsorted

ENH: Add vectorized searchsorted #1689

Triggered via pull request November 23, 2025 08:24
Status Failure
Total duration 3m 28s
Artifacts

ci.yml

on: pull_request
Matrix: checks
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Lint: tests/test_funcs.py#L1679
Type of parameter "kwargs" is unknown (reportUnknownParameterType)
Lint: tests/test_funcs.py#L1679
Type annotation is missing for parameter "args_tuple" (reportMissingParameterType)
Lint: tests/test_funcs.py#L1679
Type of parameter "args_tuple" is unknown (reportUnknownParameterType)
Lint: tests/test_funcs.py#L1679
Return type, "Unknown | tuple[Any, ...] | list[tuple[Any, ...]]", is partially unknown (reportUnknownParameterType)
Lint: tests/test_funcs.py#L1678
Type annotation is missing for parameter "f" (reportMissingParameterType)
Lint: tests/test_funcs.py#L1678
Type of parameter "f" is unknown (reportUnknownParameterType)
Lint: tests/test_funcs.py#L1678
Return type, "(...) -> (Unknown | tuple[Any, ...] | list[tuple[Any, ...]])", is partially unknown (reportUnknownParameterType)
Lint: tests/test_funcs.py#L1648
Return type, "(f: Unknown) -> ((...) -> (Unknown | tuple[Any, ...] | list[tuple[Any, ...]]))", is partially unknown (reportUnknownParameterType)
Lint: src/array_api_extra/_lib/_funcs.py#L751
Argument of type "int | None" cannot be assigned to parameter "x" of type "_SupportsFloatOrIndex" in function "log2"   Type "int | None" is not assignable to type "_SupportsFloatOrIndex"     Type "None" is not assignable to type "_SupportsFloatOrIndex"       "None" is incompatible with protocol "SupportsFloat"         "__float__" is not present       "None" is incompatible with protocol "SupportsIndex"         "__index__" is not present (reportArgumentType)
Lint: src/array_api_extra/_lib/_funcs.py#L729
Condition will always evaluate to False since the types "ModuleType" and "None" have no overlap (reportUnnecessaryComparison)
Test tests-numpy1
Process completed with exit code 1.