Skip to content

Commit 30b1982

Browse files
style: pre-commit fixes
1 parent 85f72be commit 30b1982

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/zarr/storage/local.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,9 @@ async def list(self) -> AsyncGenerator[str, None]:
226226

227227
async def list_prefix(self, prefix: str) -> AsyncGenerator[str, None]:
228228
# docstring inherited
229-
to_strip = (self.root / prefix).as_posix() + "/" # TODO: fixme in https://github.com/zarr-developers/zarr-python/issues/2438
229+
to_strip = (
230+
(self.root / prefix).as_posix() + "/"
231+
) # TODO: fixme in https://github.com/zarr-developers/zarr-python/issues/2438
230232
for p in (self.root / prefix).rglob("*"):
231233
if p.is_file():
232234
yield p.as_posix().replace(to_strip, "")

0 commit comments

Comments
 (0)