summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.example7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.example b/Makefile.example
index e1dfcd606..da9882e67 100644
--- a/Makefile.example
+++ b/Makefile.example
@@ -20,10 +20,12 @@ test: clean
cd $(project); $(PYTHON) manage.py test
pep8:
- pep8.py --filename=*.py --ignore=W --exclude="manage.py,settings.py" --statistics --repeat .
+ pep8 --filename=*.py --ignore=W --exclude="manage.py,settings.py,migrations" --statistics --repeat .
pylint:
- pylint . --max-public-methods=50 --include-ids=y --ignored-classes=Item.Meta --method-rgx='[a-z_][a-z0-9_]{2,40}$$'
+ for DIR in $(apps); do \
+ pylint "$(CURDIR)/$$DIR" --ignore=.git,migrations --max-public-methods=50 --ignored-classes=Item.Meta --method-rgx='[a-z_][a-z0-9_]{2,40}$$'; \
+ done
fresh_syncdb:
cd $(project); $(PYTHON) ./manage.py syncdb --noinput 2> /dev/null > /dev/null
@@ -73,7 +75,6 @@ run:
compilemessages:
for DIR in $(apps); do \
- echo $(CURDIR)/$$DIR; \
cd $(CURDIR)/$$DIR; \
django-admin compilemessages; \
done