Sub-issue of #114 (developer experience review).
Task
- Add
[tool.ruff] config to pyproject.toml: target-version = "py39", line-length = 120
- Rules:
E, F, I, UP, W (ignore E501)
- Per-file ignores:
tests/** gets F401, F811
- Add
ruff>=0.4.0 to testing optional dependencies
- Update
requires-python from >=3.8 to >=3.9 (matches CI matrix)
- Run
ruff check --fix . then ruff format . to apply consistent style
Why
No automated code style enforcement exists. Agent and human PRs may have inconsistent formatting with no way to catch it before review.
Sub-issue of #114 (developer experience review).
Task
[tool.ruff]config topyproject.toml:target-version = "py39",line-length = 120E,F,I,UP,W(ignoreE501)tests/**getsF401,F811ruff>=0.4.0to testing optional dependenciesrequires-pythonfrom>=3.8to>=3.9(matches CI matrix)ruff check --fix .thenruff format .to apply consistent styleWhy
No automated code style enforcement exists. Agent and human PRs may have inconsistent formatting with no way to catch it before review.