Re:Ruff v0.16.0 – Significant new updates – 413 default rule...
by biorach on Sunday July 26, 2026 @08:08AM
(#49057319)
> uv run ruff check --fix
Generally gets you 90% there.
Re:Ruff v0.16.0 – Significant new updates – 413 default rule...
by vasachi on Sunday July 26, 2026 @08:31AM
(#49057474)
In reality it got me 30% there.
Re:Ruff v0.16.0 – Significant new updates – 413 default rule...
by tclancy on Sunday July 26, 2026 @08:33AM
(#49057489)
That suggests it’s doing its job.
Re:Ruff v0.16.0 – Significant new updates – 413 default rule...
by embedding-shape on Sunday July 26, 2026 @08:36AM
(#49057526)
I don't think they were trying to say "No, ruff doesn't work at all", more that "gets you 90% there" might have been an over-exaggeration, or very codebase-specific number and really, YMMV.
Re:Ruff v0.16.0 – Significant new updates – 413 default rule...
by apelapan on Sunday July 26, 2026 @08:35AM
(#49057504)
On the 0.16.0 release it was more like 10% autofixable on the codebases I maintain. One of them had 100+ unfixable errors across less than 10k lines of code and tests in total. Previous ruff version labeled it perfectly clean on format and check with default settings.
Good thing we have LLM:s that can do the tedious work of checking each case and applying local annotations or updating the config globally! If I was stuck doing this manually, I would have just gotten rid of ruff and went back to black+pylint.
Don't get me wrong, the new level of details coming from Ruff is much appreciated and a good thing :)