style(ws5): ruff format handbook.py (CI ruff format --check)

This commit is contained in:
Adam Moussa 2026-06-23 11:37:52 -04:00
parent a12de32a34
commit 47d7a81b6b

View file

@ -69,7 +69,9 @@ def load_handbook_conventions(path: Optional[Path | str] = None) -> str:
sections: list[str] = []
for fpath in files:
try:
raw = fpath.read_bytes()[:_MAX_FILE_BYTES].decode("utf-8", errors="replace")
raw = fpath.read_bytes()[:_MAX_FILE_BYTES].decode(
"utf-8", errors="replace"
)
sections.append(f"### {fpath.stem}\n{raw.strip()}")
except Exception: # noqa: BLE001 - safe no-op
continue