make lint should pass and then enforced by Travis
make lint
Use black for code auto-formatting. Better than autopep8 (does not really reformat) and yapf (popular, but too many configuration options, and slow).
black
autopep8
yapf