Skip to content

Commit 2af5bcf

Browse files
Apply ruff/flake8-type-checking rule TC003
TC003 Move standard library import into a type-checking block
1 parent 3143e97 commit 2af5bcf

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
@@ -65,6 +64,8 @@
6564
Coroutine,
6665
Generator,
6766
Iterable,
67+
Iterator,
68+
Mapping,
6869
)
6970
from typing import Any
7071

0 commit comments

Comments
 (0)