|
|
|
@ -23,9 +23,13 @@ Similarly, isort is used for imports, using these parameters:
|
|
|
|
|
|
|
|
|
|
isort --profile black --line-length 110
|
|
|
|
|
|
|
|
|
|
There is .pre-commit-config.yaml to use pre-commit to automatically run black
|
|
|
|
|
and isort before commits. (execute `pre-commit install` to install the git
|
|
|
|
|
hook.)
|
|
|
|
|
djhtml is used to automatically indent html files, using those parameters:
|
|
|
|
|
|
|
|
|
|
django-upgrade --tabwidth 2
|
|
|
|
|
|
|
|
|
|
There is .pre-commit-config.yaml to use pre-commit to automatically run black,
|
|
|
|
|
isort and djhtml before commits. (execute `pre-commit install` to install the
|
|
|
|
|
git hook.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
License
|
|
|
|
|