Feature: Add flake8 command in Makefile

This commit is contained in:
winkidney
2019-02-22 17:28:56 +08:00
committed by Ji Qu
parent 4fb2d8fff7
commit fb79c2d671
2 changed files with 10 additions and 0 deletions

8
.flake8 Normal file
View File

@@ -0,0 +1,8 @@
[flake8]
max-line-length = 121
exclude =
migrations,
south_migrations,
pinry/settings/,
core/tests/,

View File

@@ -19,3 +19,5 @@ test:
pipenv run python manage.py test
shell:
pipenv run python manage.py shell
flake8:
pipenv run flake8