We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae408a5 commit b3707eaCopy full SHA for b3707ea
1 file changed
src/fast_array_utils/stats/_utils.py
@@ -90,7 +90,7 @@ def _normalize_axis(axis: ComplexAxis, ndim: int) -> Literal[0, 1] | None:
90
case (0, 1) | (1, 0):
91
axis = None
92
case _: # pragma: no cover
93
- raise AxisError(axis, ndim) # type: ignore[call-overload]
+ raise AxisError(axis, ndim)
94
if axis == 0 and ndim == 1:
95
return None # dask’s aggregate doesn’t know we don’t accept `axis=0` for 1D arrays
96
return axis
0 commit comments