Skip to content

Commit af01eda

Browse files
committed
ruff
1 parent 6ebbc6f commit af01eda

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lab-sdk/src/lab/storage.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,7 @@ async def walk(path: str, maxdepth=None, topdown=True, on_error="omit"):
323323
fs = await filesystem()
324324
# Materialise the generator in a thread so the blocking filesystem
325325
# traversal never stalls the event loop.
326-
return await asyncio.to_thread(
327-
lambda: list(fs.walk(path, maxdepth=maxdepth, topdown=topdown, on_error=on_error))
328-
)
326+
return await asyncio.to_thread(lambda: list(fs.walk(path, maxdepth=maxdepth, topdown=topdown, on_error=on_error)))
329327

330328

331329
async def rm(path: str) -> None:

0 commit comments

Comments
 (0)