refactor: cleanup, linting, and tooling updates (#108)

This commit is contained in:
banteg
2026-01-13 01:34:08 +04:00
committed by GitHub
parent 2809974698
commit abd0aa2bb4
31 changed files with 457 additions and 486 deletions
+2 -2
View File
@@ -21,12 +21,12 @@ def _decode_fixture(name: str) -> list[str]:
continue
try:
json.loads(line)
except Exception as exc:
except Exception as exc: # noqa: BLE001
errors.append(f"line {lineno}: invalid JSON ({exc})")
continue
try:
codex_schema.decode_event(line)
except Exception as exc:
except Exception as exc: # noqa: BLE001
errors.append(f"line {lineno}: {exc.__class__.__name__}: {exc}")
return errors