File tree Expand file tree Collapse file tree 4 files changed +16
-11
lines changed Expand file tree Collapse file tree 4 files changed +16
-11
lines changed Original file line number Diff line number Diff line change @@ -136,8 +136,8 @@ numpy = ["1.25", "2.1"]
136136features = [" 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 "
141141run = " run-coverage --no-cov"
142142run-verbose = " run-coverage --verbose"
143143run-mypy = " mypy src"
@@ -157,7 +157,7 @@ numpy = ["1.25", "2.1"]
157157version = [" 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 "
161161run = " run-coverage --no-cov"
162162run-verbose = " run-coverage --verbose"
163163run-mypy = " mypy src"
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 1919
2020class MemoryStore (Store ):
2121 """
22- In-memory store for testing purposes .
22+ In-memory store.
2323
2424 Parameters
2525 ----------
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments