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. 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.