diff options
-rw-r--r-- | SConstruct | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | jsongen.py (renamed from jsongen.py.in) | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | maskaudit.py (renamed from maskaudit.py.in) | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | valgrind-audit.py (renamed from valgrind-audit.py.in) | 4 |
4 files changed, 2 insertions, 8 deletions
@@ -1518,7 +1518,7 @@ if len(python_progs) > 0: pylint = Utility("pylint", ["jsongen.py", "maskaudit.py", python_built_extensions], ['''pylint --rcfile=/dev/null --dummy-variables-rgx='^_' --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" --reports=n --disable=F0001,C0103,C0111,C1001,C0301,C0302,C0322,C0324,C0323,C0321,C0330,R0201,R0801,R0902,R0903,R0904,R0911,R0912,R0913,R0914,R0915,W0110,W0201,W0121,W0123,W0231,W0232,W0234,W0401,W0403,W0141,W0142,W0603,W0614,W0640,W0621,W1504,E0602,E0611,E1101,E1102,E1103,F0401 gps/*.py *.py ''' + " ".join(python_progs)]) -# Additional Python readablity style checks +# Additional Python readability style checks if len(python_progs) > 0: pep8 = Utility("pep8", ["jsongen.py", "maskaudit.py", python_built_extensions], ['''pep8 --ignore=E501,W602,E122,E241,E401 {0} gps/[a-zA-Z]*.py *.py'''.format(" ".join(python_progs))]) diff --git a/jsongen.py.in b/jsongen.py index 6dbd93c6..f42b4017 100644..100755 --- a/jsongen.py.in +++ b/jsongen.py @@ -1,7 +1,5 @@ #!/usr/bin/env python # -# @MASTER@ -# # This file is Copyright (c) 2010 by the GPSD project # BSD terms apply: see the file COPYING in the distribution root for details. # diff --git a/maskaudit.py.in b/maskaudit.py index c1579317..cfa07785 100644..100755 --- a/maskaudit.py.in +++ b/maskaudit.py @@ -1,7 +1,5 @@ #!/usr/bin/env python # -# @MASTER@ -# # This file is Copyright (c) 2010 by the GPSD project # BSD terms apply: see the file COPYING in the distribution root for details. # diff --git a/valgrind-audit.py.in b/valgrind-audit.py index ea34a6a3..caa56c0a 100644..100755 --- a/valgrind-audit.py.in +++ b/valgrind-audit.py @@ -1,6 +1,4 @@ -#!@PYTHON@ -# -# @MASTER@ +#!/usr/bin/env python # # This is a valgrind torture test for the gpsd daemon. # It's not really expected to spot anything as long as we aren't using |