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 Oct 8, 2023
1 parent 48d1b1d commit 9974bc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions xarray/namedarray/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
Any,
Callable,
Final,
Literal,
Protocol,
SupportsIndex,
TypeVar,
Expand All @@ -26,9 +25,9 @@
from typing_extensions import TypeGuard

if sys.version_info >= (3, 11):
from typing import Self
pass
else:
from typing_extensions import Self
pass

from dask.array.core import Array as DaskArray
from dask.typing import DaskCollection
Expand Down
1 change: 1 addition & 0 deletions xarray/tests/test_namedarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

if TYPE_CHECKING:
from types import ModuleType

from numpy.typing import NDArray

from xarray.namedarray.utils import (
Expand Down

0 comments on commit 9974bc6

Please sign in to comment.