From fb79c2d67179abf2de2b12fda1caf9adc92e19cb Mon Sep 17 00:00:00 2001 From: winkidney Date: Fri, 22 Feb 2019 17:28:56 +0800 Subject: [PATCH] Feature: Add flake8 command in Makefile --- .flake8 | 8 ++++++++ Makefile | 2 ++ 2 files changed, 10 insertions(+) create mode 100644 .flake8 diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..3cd649d --- /dev/null +++ b/.flake8 @@ -0,0 +1,8 @@ +[flake8] +max-line-length = 121 +exclude = + migrations, + south_migrations, + pinry/settings/, + core/tests/, + diff --git a/Makefile b/Makefile index 75ddb0b..5a11c6f 100644 --- a/Makefile +++ b/Makefile @@ -19,3 +19,5 @@ test: pipenv run python manage.py test shell: pipenv run python manage.py shell +flake8: + pipenv run flake8