ENH: add quantile function with weights support
#1599
Annotations
8 errors
|
Lint
Process completed with exit code 1.
|
|
Lint
6 errors
|
|
Lint:
tests/test_funcs.py#L1620
Cannot access attribute "type" for class "Device"
Attribute "type" is unknown (reportAttributeAccessIssue)
|
|
Lint:
src/array_api_extra/_lib/_quantile.py#L64
Cannot access attribute "shape" for class "float"
Attribute "shape" is unknown (reportAttributeAccessIssue)
|
|
Lint:
src/array_api_extra/_lib/_quantile.py#L58
Cannot access attribute "shape" for class "float"
Attribute "shape" is unknown (reportAttributeAccessIssue)
|
|
Lint:
src/array_api_extra/_lib/_quantile.py#L53
Argument of type "float" cannot be assigned to parameter "n" of type "int" in function "_quantile_hf"
"float" is not assignable to "int" (reportArgumentType)
|
|
Lint:
src/array_api_extra/_lib/_quantile.py#L53
Argument of type "Array | float" cannot be assigned to parameter "p" of type "Array" in function "_quantile_hf"
Type "Array | float" is not assignable to type "Array"
"float" is incompatible with protocol "Array"
"__invert__" is not present
"__matmul__" is not present
"__and__" is not present
"__or__" is not present
"__xor__" is not present
"__lshift__" is not present
... (reportArgumentType)
|
|
Lint:
src/array_api_extra/_lib/_quantile.py#L27
Cannot access attribute "ndim" for class "float"
Attribute "ndim" is unknown (reportAttributeAccessIssue)
|