You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Extend lint coverage to the whole repository and enforce a formatter #89
[tool.ruff] include in pyproject.toml covers 239 of 888 tracked .py files. harness/web_fetch, web_search, reporting, lexbench, scripts/, research/*.py and examples/ are only checked for F,TID252 (Makefile lint-check).
An isolated E,F,B,I,UP run finds about 22k issues:
7.7k E501
about 1.6k E701/E702 (semicolon or colon one-liners, e.g. stdout.seek(0); raw = stdout.read(limit+1) in providers/headless.py)
676 I001
60 B023 (loop-variable closures, potential bugs)
68 B905 (zip without strict)
55 E402
No formatter runs. ruff format --check would reformat about 783 files. harness/web_fetch/report.py uses one-space indentation on about 1.1k lines.
Narrowed after a recheck: fix B023 and B905 by hand, and widen the Ruff include per package while leaving hash-bound files out. A repo-wide format is dropped, because it would move hash-bound sources.
Activity
lanyue-llk commentedon Nov 4, 2026
Narrowed after a recheck: fix B023 and B905 by hand, and widen the Ruff include per package while leaving hash-bound files out. A repo-wide format is dropped, because it would move hash-bound sources.