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

Check MySQL query history from command line

Installing chocolatey on Windows