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 | d41a933729ab26d1d7b9b4d67872fbb37ac19e3b (patch) | |
tree | f45f9383c96ff9099dade555f2a6fc121abbedfb /Makefile.example | |
parent | b13531ff2d00911f653c9c2804319177332d9481 (diff) | |
download | Ishtar-d41a933729ab26d1d7b9b4d67872fbb37ac19e3b.tar.bz2 Ishtar-d41a933729ab26d1d7b9b4d67872fbb37ac19e3b.zip |
Makefile: fix pep8 and pylint
Diffstat (limited to 'Makefile.example')
-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 |