From 16ce4136e5af239ab4c074b3d14d4ca94e8eb367 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 13 Oct 2023 16:03:21 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- xarray/namedarray/core.py | 5 +---- xarray/namedarray/utils.py | 3 +-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/xarray/namedarray/core.py b/xarray/namedarray/core.py index 204a48aecc2..29dd525d6fd 100644 --- a/xarray/namedarray/core.py +++ b/xarray/namedarray/core.py @@ -33,13 +33,10 @@ _ScalarType, _ScalarType_co, _Shape, - _ShapeType, _ShapeType_co, _sparsearrayfunction_or_api, - _SupportsImag, - _SupportsReal, - duckarray, astype, + duckarray, is_chunked_duck_array, is_duck_dask_array, to_0d_object_array, diff --git a/xarray/namedarray/utils.py b/xarray/namedarray/utils.py index 6c7f757d729..248434f8c16 100644 --- a/xarray/namedarray/utils.py +++ b/xarray/namedarray/utils.py @@ -13,7 +13,6 @@ SupportsIndex, TypeVar, Union, - overload, runtime_checkable, ) @@ -32,7 +31,7 @@ from dask.array.core import Array as DaskArray from dask.typing import DaskCollection - from numpy.typing import DTypeLike, NDArray + from numpy.typing import NDArray # try: # from dask.array.core import Array as DaskArray