> > > I'm just saying that if "As contributor, I can haz automatic code > formatter to lower the barrier" is precisely the story you want to solve, > then black may not be the only solution you want to consider deeply ;) > > Jamie, sure, I wasn't responding directly to you about this, more to the general people arguing against blacks style choices. I would happily consider alternatives to black - although (without any formal research to back this claim) it does feel like black has the most community support.
My point is mostly that if there is a growing community consistency through black then I'd be hesitant to choose another tool that goes against this. > > Consistency in the end is the most important thing (even PEP8 agrees > > there). > > Not sure where you got that impression: > https://pep8.org/#a-foolish-consistency-is-the-hobgoblin-of-little-minds > <https://www.google.com/url?q=https%3A%2F%2Fpep8.org%2F%23a-foolish-consistency-is-the-hobgoblin-of-little-minds&sa=D&sntz=1&usg=AFQjCNEySGgwf2j6XxUTgSju2qDS3z4zWw> > > > Pep8 clearly states consistency is less important then readability (it's > the > first thing mentioned and mentioned repeatedly that you can use as an > argument > to break consistency). And this is the primary advantage of black, since > readability is hard to quantify (and therefore lint or format) and I think > this is where black has succeeded (by breaking consistency where it is > needed). > I mostly follow the discussion with interest from the sidelines, but just > wanted to correct this consistency argument: if you want consistent code, > go > with autopep8, it'll keep your lines consistent below 79 characters and > quite > an unreadable mess. > -- > Thanks for the correction Melvyn, you're right - aside from readability and backwards compatibility consistency is important. I'd also note the irony of using PEP8 to argue for consistency with a tool that is (at least on line length) inconsistent with PEP8. Although I really don't want to start a debate on line length. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/3041089f-97dd-405e-98ff-e19d53575e1c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.