[code-quality] Custom exit value of check-items

Florian Bruhin me at the-compiler.org
Fri May 22 16:41:20 CEST 2015


* 岳星兆 <froilan0709 at gmail.com> [2015-05-22 18:13:08 +0800]:
> I’m using pylint in buildbot, and I want to customize failure items.

Note buildbot comes with a PyLint buildstep which parses the results:

http://docs.buildbot.net/current/manual/cfg-buildsteps.html#step-PyLint

> Now I think buildbot give failure result since pylint returns(exit)
> contains 1 or 2.

I think it exists with 0 when no errors are found, and != 0 if there
are errors. That worked fine in buildbot for me (until I discovered
the thing above).

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/code-quality/attachments/20150522/b0f772bf/attachment.sig>


More information about the code-quality mailing list