Skip to content

Commit c63e4ca

Browse files
Multiple imports for an import name (#2723)
1 parent 280daac commit c63e4ca

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

docs/conf.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,12 @@
1515

1616
import os
1717
import sys
18+
from importlib.metadata import version as get_version
1819
from typing import Any
1920

2021
import sphinx
2122
import sphinx.application
2223

23-
from importlib.metadata import version as get_version
24-
25-
import sphinx
26-
2724
# If extensions (or modules to document with autodoc) are in another directory,
2825
# add these directories to sys.path here. If the directory is relative to the
2926
# documentation root, use os.path.abspath to make it absolute, like shown here.

src/zarr/core/array.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@
112112
_parse_bytes_bytes_codec,
113113
get_pipeline_class,
114114
)
115-
from zarr.storage import StoreLike
116115
from zarr.storage._common import StorePath, ensure_no_existing_node, make_store_path
117116

118117
if TYPE_CHECKING:

src/zarr/core/group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
create_array,
3232
)
3333
from zarr.core.attributes import Attributes
34-
from zarr.core.buffer import Buffer, default_buffer_prototype
34+
from zarr.core.buffer import default_buffer_prototype
3535
from zarr.core.common import (
3636
JSON,
3737
ZARR_JSON,

0 commit comments

Comments
 (0)