]> thyrsus.com Git - ski.git/commitdiff
Cosmetic Makefile fix.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 4 Jun 2014 11:22:31 +0000 (07:22 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 4 Jun 2014 11:22:31 +0000 (07:22 -0400)
Makefile

index 8ef2b33192a45665fc1546d93c180c0b0b422136..3340aafc359e9991297300ea745ddb51c8faa71a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,10 +22,12 @@ pychecker:
        @-pychecker --only --limit 50 ski.py
        @rm -f ski.py*
 
-COMMON_PYLINT = --rcfile=/dev/null --reports=n --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}"
-PYLINTOPTS = $(COMMON_PYLINT) --disable="C0103,C0111,C0301,C0325,C0326,C1001,R0902,R0911,R0912,W0621"
+PYLINTOPTS = --rcfile=/dev/null --reports=n \
+       --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" \
+       --dummy-variables-rgx='^_'
+SUPPRESSIONS = "C0103,C0111,C0301,C0325,C0326,C1001,R0902,R0911,R0912,W0621"
 pylint:
-       @pylint $(PYLINTOPTS) ski
+       @pylint $(PYLINTOPTS) --disable=$(SUPPRESSIONS) ski
 
 version:
        @echo $(VERS)