3 ms·
> The linters teach what to do, but not why Ruff specifically actually has a web page for every single check with a section on the rationale behind it. I regu
by BeefySwain 2y ago
> The linters teach what to do, but not why
Ruff specifically actually has a web page for every single check with a section on the rationale behind it.
I regularly use this when I see an error that I don't understand the purpose of, and am often convinced, though sometimes I recognize that the thing it's trying to protect me from doesn't apply in my particular case and so I disable it. Regardless. I feel it has had the effect of making me a better developer.
- claytonjy 2y agoYes, this is a big part of what makes this approach tolerable. In VSCode, the on-hover tooltip includes a link the ruff rule page with this information, so there's no searching needed. I've come to rely on that so much, it's really annoying when the error is from mypy, whose tooltips do not have such links. Patiently waiting for Astral's mypy-killer!