style(file-io): keep complete-read signature formatter-stable

This commit is contained in:
cangen185-sudo 2026-10-23 21:22:11 +08:00
parent ced8735af4
commit ac4b0da14c

View file

@ -103,7 +103,10 @@ def _decode_known_file(data: bytes, file_extension: str) -> tuple[str, str]:
async def read_file_safe(
file_path, max_bytes: int = MAX_FILE_READ_BYTES, *, require_complete: bool = False
file_path,
max_bytes: int = MAX_FILE_READ_BYTES,
*,
require_complete: bool = False,
) -> tuple[str, str]:
"""Read file in byte mode and decode using extension-aware strategy.