On Thu, Apr 2, 2020 at 2:19 PM Antoine Pitrou <anto...@python.org> wrote:
>
>
> Le 02/04/2020 à 20:58, Joris Van den Bossche a écrit :
> >
> > Yes, both autopep8 and black can fix up linting issues to ensure your code
> > passes the PEP8 checks (although autopep8 can not fix all issues
> > automatically).
> > But with autopep8 you *still* need to think about how to format your code,
> > as there
> > are many different ways you can write code that all satisfy PEP8 / autopep8.
>
> I don't understand why you need to think.
> With black: write your code as it comes and reformat it afterwards.
> With autopep8: write your code as it comes and reformat it afterwards.

With either solution, you don't have to "think" about PEP8 compliance
while programming, because autopep8 will handle it for you. There
might be some stylistic issues around where to put line breaks, but I
think what we are essentially agreeing to in this discussion is to not
make stylistic comments in code reviews so long as the code is
PEP8-compliant (which sounds good to me).

> So you can pretty much avoid thinking if you don't want to... (which
> IMHO is a weird thing to ask for, but hey :-))
>
> Regards
>
> Antoine.

Reply via email to