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
chore: make the ruff config load, and fix what it then reports
pyproject.toml used `target_version`, which modern ruff rejects as an unknown
field -- so ruff failed to parse the config and linted nothing at all. Renaming
it to `target-version` surfaced 17 violations.
- Move `select`/`ignore`/`fixable`/`unfixable`/`dummy-variable-rgx`/`mccabe`
under `[tool.ruff.lint]`, where they now belong.
- Exclude app/external/result_type/*, which is vendored third-party code kept
close to upstream, alongside the already-excluded generated protos. That
accounts for 7 of the 17.
- Add per-file E501 ignores for app/apps/docs.py and
app/system/impl/native_python.py: their long lines are verbatim example
payloads (sample API error bodies, a Nix config snippet) and re-wrapping them
would misrepresent what they document.
- Wrap three genuinely long lines, drop an unused import and an unused local,
and give app/apps/tasks_impl/__init__.py an __all__ for its re-exports.
ruff check now passes under both the pinned 0.14.14 and current nixpkgs ruff.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments