Skip to content

Commit c5c761e

Browse files
committed
Merge remote-tracking branch 'origin/main' into feat/read-funcs
2 parents 0dc7dc6 + 2535503 commit c5c761e

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
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

0 commit comments

Comments
 (0)