logoalt Hacker News

biorachtoday at 12:08 PM2 repliesview on HN

> uv run ruff check --fix

Generally gets you 90% there.


Replies

apelapantoday at 12:35 PM

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.

vasachitoday at 12:31 PM

In reality it got me 30% there.

show 1 reply