Re:Black: An uncompromising Python code formatter
by abaldwin7302 on Friday May 25, 2018 @05:07PM
(#17157989)
Agreed auto-correct is a big plus. Maybe a better way to phrase my question is this: Can auto-correct be implemented in pylint? Or does allowing configurations create too much of an obstacle?
In the ruby world for example, rubocop has an auto-correct feature. However it is only implemented for a subset of the style checks.
In contrast, when you're promising that this exact problem won't happen anymore because an automatic tool will handle stylistic preference for your team, people are more willing to accept stylistic choices they (mildly) disagree with. Because on average the style is still better and on average everybody can move faster.