Hacker News new | past | comments | ask | show | jobs | submit login
Ruff: The First 200 Releases (crmarsh.com)
2 points by tabbott on Jan 20, 2023 | hide | past | favorite | 1 comment



We've replaced most of Zulip's Python linters with Ruff, and it's hard to understate how big of a difference it makes for linters to be lightning fast.

Ruff has essentially all the features of major Python linters (pyflakes, flake8, pylint, pycodestyle, autoflake, even isort), and it runs more than 100x faster than the fastest of them. In practice, this means this portion of our Python linting toolchain, which previously was a thing you had to wait for on a codebase of our size (or even when linting individual large files), now completes in under a second even when checking the entire codebase.

(It can't replace `black` or `mypy` yet, though the linked post describes plans to replace `black`, which I'm very excited about).

I can't recommend it enough.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: