diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-02-22 10:53:10 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-02-22 10:53:10 -0500 |
commit | 7a6b4a54afd520c9cf84cee3735f349efd40e129 (patch) | |
tree | 53f55d46231dcf4254ebc6e87c8167a785509e83 | |
parent | a6b99381c7aa009ee449a76f31312eae0b87d7f1 (diff) | |
download | gpsd-7a6b4a54afd520c9cf84cee3735f349efd40e129.tar.gz |
Add a couple of pylint error-suppression codes for newer versions.
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1495,7 +1495,7 @@ Utility("scan-build", ["gpsd.h", "packet_names.h"], # Sanity-check Python code. 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,W0232,W0234,W0401,W0403,W0141,W0142,W0603,W0614,W0640,W0621,E1101,E1102,F0401 gps/*.py *.py ''' + " ".join(python_progs)]) + ['''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,W0232,W0234,W0401,W0403,W0141,W0142,W0603,W0614,W0640,W0621,E1101,E1102,E1103,F0401 gps/*.py *.py ''' + " ".join(python_progs)]) # Additional Python readablity style checks pep8 = Utility("pep8", ["jsongen.py", "maskaudit.py", python_built_extensions], |