[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] "scons audit" fails on an ubuntu 16.04 system...
From: |
Fred Wright |
Subject: |
Re: [gpsd-dev] "scons audit" fails on an ubuntu 16.04 system... |
Date: |
Wed, 26 Jul 2017 10:49:01 -0700 (PDT) |
On Wed, 26 Jul 2017, Reinhard Arlt wrote:
> running "scons audit" fails with
>
> 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,I0011
> gps/*.py *.py gpscat gpsfake gpsprof gegps xgps xgpsspeed
> Traceback (most recent call last):
[...]
> File "/usr/lib/python2.7/dist-packages/pylint/utils.py", line 341, in
> check_message_id
> raise UnknownMessage('No such message id %s' % msgid)
> pylint.utils.UnknownMessage: No such message id C0330
> scons: *** [pylint] Error 1
> scons: building terminated because of errors.
That's a legitimate message ID AFAIK. Does this relate to your pylint
version?
It appears that the C0330 test is broken, anyway, making it justifiable to
disable it. :-)
https://github.com/PyCQA/pylint/issues/741
Fred Wright