diff options
author | Gary E. Miller <gem@rellim.com> | 2017-07-01 14:45:30 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2017-07-01 14:45:30 -0700 |
commit | 364f492b62cf287ed510501e193a0f8e81274085 (patch) | |
tree | c0eb5910eb2355a41b56be81c4d37769db11eb3b /SConstruct | |
parent | 84b3d38e07ac0fd877790fe9bda457abe6c5db1e (diff) | |
download | gpsd-364f492b62cf287ed510501e193a0f8e81274085.tar.gz |
SConstrcut: last pep8 fixes.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -1750,9 +1750,17 @@ Utility("scan-build", ["gpsd.h", "packet_names.h"], # Bletch. We don't really want to suppress W0231 E0602 E0611, but Python 3 # syntax confuses a pylint running under Python 2. 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)]) + 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 readability style checks if len(python_progs) > 0: |