summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRolf Erik Lekang <me@rolflekang.com>2015-04-17 17:13:45 +0200
committerRolf Erik Lekang <me@rolflekang.com>2015-04-17 17:30:47 +0200
commit3a6505badaf3c7ca0557af972a725dca56a0211c (patch)
treeecebbcaeceba014756780363a01ce7c76447d84f /Makefile
parent3f3eb10d3ebb480a2d63d6b341a45c333749f720 (diff)
Fix isort calls in makefile, use -rc option
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 74d49f34..e23c8608 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
STATIC = djangoproject/static
SCSS = djangoproject/scss
JQUERY_FLOT=djangoproject/static/js/lib/jquery-flot
+APP_LIST ?= accounts aggregator blog cla contact dashboard djangoproject docs fundraising legacy releases svntogit tracdb
.PHONY: collectstatics compile-scss compile-scss-debug watch-scss run install test ci
@@ -25,16 +26,16 @@ install:
pip install -r requirements/dev.txt
test:
- @coverage run --source=. manage.py test -v2 aggregator contact docs fundraising legacy releases svntogit dashboard
+ @coverage run --source=. manage.py test -v2 $(APP_LIST)
ci: test
@coverage report
isort:
- isort */*.py
+ isort -rc $(APP_LIST)
isort-check:
- isort -c */*.py
+ isort -c -rc $(APP_LIST)
$(JQUERY_FLOT)/jquery.flot.min.js: $(JQUERY_FLOT)
cat $(JQUERY_FLOT)/jquery.flot.js $(JQUERY_FLOT)/jquery.flot.time.js > $(JQUERY_FLOT)/jquery.flot.concat.js