diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-02-01 17:47:49 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-02-01 17:47:49 +0100 |
commit | d132ff86849a077093df8701e5a066bc50120d2b (patch) | |
tree | f45f9383c96ff9099dade555f2a6fc121abbedfb | |
parent | b47531f2197dabc571b71d2a05c90ae97e1fcff7 (diff) | |
download | Ishtar-d132ff86849a077093df8701e5a066bc50120d2b.tar.bz2 Ishtar-d132ff86849a077093df8701e5a066bc50120d2b.zip |
Makefile: fix pep8 and pylint
-rw-r--r-- | Makefile.example | 7 |
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 |