Skip to content

Commit 1d497f5

Browse files
authored
Merge branch 'main' into PYL-E1125
2 parents 54514dc + 41a567e commit 1d497f5

File tree

8 files changed

+702
-435
lines changed

8 files changed

+702
-435
lines changed

docs/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Zarr-Python
1616
release
1717
license
1818
contributing
19+
roadmap
1920

2021
**Version**: |version|
2122

docs/roadmap.rst

+696
Large diffs are not rendered by default.

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ extend-select = [
223223
"TCH", # flake8-type-checking
224224
"TRY", # tryceratops
225225
"UP", # pyupgrade
226+
"W", # pycodestyle warnings
226227
]
227228
ignore = [
228229
"ANN003",

src/zarr/abc/store.py

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from abc import ABC, abstractmethod
44
from asyncio import gather
5-
from types import TracebackType
65
from typing import TYPE_CHECKING, NamedTuple, Protocol, runtime_checkable
76

87
if TYPE_CHECKING:

src/zarr/registry.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ def register(self, cls: type[T]) -> None:
4848
__ndbuffer_registry: Registry[NDBuffer] = Registry()
4949

5050
"""
51-
The registry module is responsible for managing implementations of codecs, pipelines, buffers and ndbuffers and
52-
collecting them from entrypoints.
53-
The implementation used is determined by the config
51+
The registry module is responsible for managing implementations of codecs,
52+
pipelines, buffers and ndbuffers and collecting them from entrypoints.
53+
The implementation used is determined by the config.
5454
"""
5555

5656

src/zarr/storage/remote.py

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import fsspec
66

77
from zarr.abc.store import ByteRangeRequest, Store
8-
from zarr.core.buffer import Buffer
98
from zarr.storage.common import _dereference_path
109

1110
if TYPE_CHECKING:

tests/v3/test_indexing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ def test_get_orthogonal_selection_2d(store: StorePath) -> None:
683683
with pytest.raises(IndexError):
684684
z.get_orthogonal_selection(selection_2d_bad) # type: ignore[arg-type]
685685
with pytest.raises(IndexError):
686-
z.oindex[selection_2d_bad] # type: ignore[index]
686+
z.oindex[selection_2d_bad] # type: ignore[index]
687687

688688

689689
def _test_get_orthogonal_selection_3d(

v3-roadmap-and-design.md

-429
This file was deleted.

0 commit comments

Comments
 (0)