Skip to content

Commit d1f3e61

Browse files
authored
Merge branch 'main' into codec-api-doc
2 parents 3734243 + 2535503 commit d1f3e61

File tree

4 files changed

+16
-11
lines changed

4 files changed

+16
-11
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ numpy = ["1.25", "2.1"]
136136
features = ["gpu"]
137137

138138
[tool.hatch.envs.test.scripts]
139-
run-coverage = "pytest --cov-config=pyproject.toml --cov=pkg --cov=tests"
140-
run-coverage-gpu = "pip install cupy-cuda12x && pytest -m gpu --cov-config=pyproject.toml --cov=pkg --cov=tests"
139+
run-coverage = "pytest --cov-config=pyproject.toml --cov=pkg --cov=src"
140+
run-coverage-gpu = "pip install cupy-cuda12x && pytest -m gpu --cov-config=pyproject.toml --cov=pkg --cov=src"
141141
run = "run-coverage --no-cov"
142142
run-verbose = "run-coverage --verbose"
143143
run-mypy = "mypy src"
@@ -157,7 +157,7 @@ numpy = ["1.25", "2.1"]
157157
version = ["minimal"]
158158

159159
[tool.hatch.envs.gputest.scripts]
160-
run-coverage = "pytest -m gpu --cov-config=pyproject.toml --cov=pkg --cov=tests"
160+
run-coverage = "pytest -m gpu --cov-config=pyproject.toml --cov=pkg --cov=src"
161161
run = "run-coverage --no-cov"
162162
run-verbose = "run-coverage --verbose"
163163
run-mypy = "mypy src"

src/zarr/storage/local.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,18 @@ async def set_partial_values(
189189
await concurrent_map(args, asyncio.to_thread, limit=None) # TODO: fix limit
190190

191191
async def delete(self, key: str) -> None:
192+
"""
193+
Remove a key from the store.
194+
195+
Parameters
196+
----------
197+
key : str
198+
199+
Notes
200+
-----
201+
If ``key`` is a directory within this store, the entire directory
202+
at ``store.root / key`` is deleted.
203+
"""
192204
# docstring inherited
193205
self._check_writable()
194206
path = self.root / key

src/zarr/storage/memory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class MemoryStore(Store):
2121
"""
22-
In-memory store for testing purposes.
22+
In-memory store.
2323
2424
Parameters
2525
----------

test.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)