Python Formats
This is a good resource to use “".format() and to describe the usage: TIL: New String Formatting in Python
This is a Good resource for python style elements-of-python-style
Python Formatters
yapf
pip install yapf
Configurations vi ~/.config/yapf/style
[style]
COLUMN_LIMIT=120
$ yapf -i -r .
$ yapf -i --exclude *migrations*.py -r .
isort
pip install isort
$ isort -y
$ find . -name "*.py" ! -path "*migrations/*" -exec isort {} \;
isort does not support skipping a pattern