run pre-commit --all-files

This commit is contained in:
dha-aa
2025-04-24 09:17:42 +00:00
parent 1b975c3ce1
commit ced8f482eb

View File

@@ -70,7 +70,7 @@ async def read_file(path: str, available_file_paths: list[str]):
if path not in available_file_paths:
return ActionResult(error=f'File path {path} is not available')
async with (await anyio.open_file(path, 'r')) as f:
async with await anyio.open_file(path, 'r') as f:
content = await f.read()
msg = f'File content: {content}'
logger.info(msg)