Hacker News new | ask | show | jobs
by tjpnz 166 days ago
They don't all support the same rules (there's literally thousands of them), so it's quite common to run multiple linters against a project.
1 comments

You'd be surprised, Ruff covers nearly everything: https://docs.astral.sh/ruff/rules/#pylint-pl

I run Ruff + a type checker.

It covers a lot but in our situation we had to throw Flake8 into the mix to be fully compliant with our style guide (the industry I work in is stricter than most here). There were Ruff rules which would've worked in 95% of cases, but there was no scope for configuration to get it all the way there. Last I checked you also couldn't add your own rules.
Based on their tracking issue, Ruff is missing 156 out of 397 Pylint checks:

https://github.com/astral-sh/ruff/issues/970

Though some of them will presumably be covered by Ty