3 ms·
Configurability is good. Ruff has thousands of linter options to bikeshed over, a few for the formatter won't hurt much more.
by silverwind 3y ago
Configurability is good. Ruff has thousands of linter options to bikeshed over, a few for the formatter won't hurt much more.
- SOLAR_FIELDS 3y agoFor every bikeshedder there are those of us who just set it to the defaults and disable one or two rules and call it a day. I run mypy in strict mode and vanilla ruff with only the line length rule adjusted and it’s been great and sensible
- abenga 3y agoNo it isn't good (in this case). All the options are pointless aesthetic choices that don't make a difference in correctness or performance, and the time spent tweaking them is far better spent pushing features and fixes.
- dolni 3y agoIsn't this a people problem and not a technical problem?
- abenga 3y agoPeople will never agree about minor, non-consequential choices, especially choices that are not objectively good or bad. Where these decisions have no effect on the quality of the output of the work (like trivial formatting settings), it's better to pick an arbitrary side, e.g. choose Black's set of decisions, live with them, and focus on actual work.
- dolni 3y agoYes, and what I am saying is that if people on your team cannot let a trivial, unimportant technical detail go, that is a people problem. You may have avoided the silly argument about code formatting. But if that tendency lives in your engineers, they will find another nit to pick somewhere else. In my opinion this is not a problem best solved by technology.
- abenga 3y agoBut someone on the team has to take time, no matter how little, to choose which way to go for all these pointless nits. Again, they don't matter, why does anyone on the team have to work on them? Just use Black's settings and move on.