News for hackers. Stuff that matters.
Re:Ruff v0.16.0 – Significant new updates – 413 default rule... by embedding-shape on Sunday July 26, 2026 @06:32AM (#49056618)
Maybe it's just me, but getting overrun with "413 x potential warnings" hardly sounds useful :) Great for greenfield, less so for existing projects. Although nowadays, fire up your agent with "/goal work through and address all lint warnings by fixing the code according to XYZ" and leave it alone for a couple of hours and I guess it's no longer an issue...

Don't get me wrong, the new level of details coming from Ruff is much appreciated and a good thing :)

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.