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 Apr 14, 2024
1 parent 64ef10b commit 937723f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
9 changes: 2 additions & 7 deletions xarray/namedarray/daskmanager.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import annotations

from collections.abc import Iterable, Sequence
from typing import TYPE_CHECKING, Any, Callable, TypeVar, overload
from typing import TYPE_CHECKING, Any, Callable, TypeVar

import numpy as np
from packaging.version import Version
Expand All @@ -12,16 +12,11 @@

if TYPE_CHECKING:
from xarray.namedarray._typing import (
T_Chunks,
_Chunks,
_ChunksLike,
_ChunksType,
_dtype,
_DType,
_DType_co,
_NormalizedChunks,
_dtype,
_Shape,
_ShapeType,
chunkedduckarray,
duckarray,
)
Expand Down
11 changes: 3 additions & 8 deletions xarray/namedarray/parallelcompat.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from abc import ABC, abstractmethod
from collections.abc import Iterable, Sequence
from importlib.metadata import EntryPoint, entry_points
from typing import TYPE_CHECKING, Any, Callable, Generic, Protocol, TypeVar, overload
from typing import TYPE_CHECKING, Any, Callable

import numpy as np

Expand All @@ -20,18 +20,13 @@

if TYPE_CHECKING:
from xarray.namedarray._typing import (
_chunkedarrayfunction_or_api,
_Chunks,
_ChunksLike,
_ChunksType,
_DType,
_DType_co,
_NormalizedChunks,
_Shape,
_ShapeType,
_ShapeType_co,
duckarray,
_chunkedarrayfunction_or_api,
chunkedduckarray,
duckarray,
)


Expand Down

0 comments on commit 937723f

Please sign in to comment.