black is a very fine-grained, very intrusive code formatting tool. It is not universally used, it is not a requirement of good code. But it is a sensible tool if you want to produce well-formatted Python code.
This issue is to try out black to see how it changes the existing code, after flake8 and isort have already been applied.
black
is a very fine-grained, very intrusive code formatting tool. It is not universally used, it is not a requirement of good code. But it is a sensible tool if you want to produce well-formatted Python code.This issue is to try out
black
to see how it changes the existing code, afterflake8
andisort
have already been applied.sudo apt install black
black --line-length 120 *.py
black
uses a default line length on 88; so it needs to be adjusted to use the same asflake8
.