Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 18, 2024
1 parent c71c9c4 commit 192b1b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion xarray/namedarray/_array_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,4 +292,4 @@ def mean(
# TODO: Why do we need to do the keepdims ourselves?
dims_, data_ = _get_remaining_dims(x, d, axis_, keepdims=keepdims)
out = x._new(dims=dims_, data=data_)
return out
return out
4 changes: 1 addition & 3 deletions xarray/namedarray/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,10 @@
if TYPE_CHECKING:
from numpy.typing import ArrayLike, NDArray

from xarray.core.types import Dims, T_Chunks
from xarray.core.types import T_Chunks
from xarray.namedarray._typing import (
Default,
_AttrsLike,
_Axes,
_Axis,
_AxisLike,
_Chunks,
_Dim,
Expand Down

0 comments on commit 192b1b5

Please sign in to comment.