Skip to content

Commit b3707ea

Browse files
committed
fix types
1 parent ae408a5 commit b3707ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/fast_array_utils/stats/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def _normalize_axis(axis: ComplexAxis, ndim: int) -> Literal[0, 1] | None:
9090
case (0, 1) | (1, 0):
9191
axis = None
9292
case _: # pragma: no cover
93-
raise AxisError(axis, ndim) # type: ignore[call-overload]
93+
raise AxisError(axis, ndim)
9494
if axis == 0 and ndim == 1:
9595
return None # dask’s aggregate doesn’t know we don’t accept `axis=0` for 1D arrays
9696
return axis

0 commit comments

Comments
 (0)