Skip to content

Commit eafcac0

Browse files
Apply ruff/flake8-type-checking rule TC003
TC003 Move standard library import into a type-checking block
1 parent 14b59ef commit eafcac0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/zarr/core/group.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import logging
88
import warnings
99
from collections import defaultdict
10-
from collections.abc import Iterator, Mapping
1110
from dataclasses import asdict, dataclass, field, fields, replace
1211
from itertools import accumulate
1312
from typing import TYPE_CHECKING, Literal, TypeVar, assert_never, cast, overload
@@ -64,6 +63,8 @@
6463
Coroutine,
6564
Generator,
6665
Iterable,
66+
Iterator,
67+
Mapping,
6768
)
6869
from typing import Any
6970

0 commit comments

Comments
 (0)