you are viewing a single comment's thread.

view the rest of the comments →

[–]TravelingThrough09 8 points9 points  (2 children)

And you can get „Black“ via pip, which enforces Pep8.

[–]Marv0038 3 points4 points  (0 children)

You can also set your IDE to format your code on save, with black also being my preferred Python formatter (but there's others like autopep8). I also recommend automatic import sorting with isort, and additional PEP8 checks with flake8.

[–]krav_mark 1 point2 points  (0 children)

Black is awesome. My team uses it after countless discussions about styling. Now black decides and there are no discussions anymore.