From 192b1b5b62e1e15e18a0266b297418e7430dd442 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 18 Aug 2024 13:11:00 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- xarray/namedarray/_array_api.py | 2 +- xarray/namedarray/core.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/xarray/namedarray/_array_api.py b/xarray/namedarray/_array_api.py index 9f2dc8ae966..63d57b2e85f 100644 --- a/xarray/namedarray/_array_api.py +++ b/xarray/namedarray/_array_api.py @@ -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 \ No newline at end of file + return out diff --git a/xarray/namedarray/core.py b/xarray/namedarray/core.py index 5f32581c6e6..773a5ba0a30 100644 --- a/xarray/namedarray/core.py +++ b/xarray/namedarray/core.py @@ -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,