Running psf/black to format Python file

There are other code formatters (autopep8, yapf) but the black style is now the recommendation of the Python Core Team. To use it,

pip3 install black  # only required the first time
black .

Comments

Popular posts from this blog

How to delete / clear queue of PowerMTA