[Buildbot-devel] Running Pylint on Buildbot's source code

Elmir Jagudin elmir.jagudin at axis.com
Fri Jul 26 06:40:36 UTC 2013


On 07/11/2013 08:24 AM, Elmir Jagudin wrote:
> I have created a new pylintrc file:
>
> https://github.com/elmirjagudin/buildbot/blob/pylint/common/pylintrc
>
> I have disabled all messages currently reported in buildbot code, so
> running 'make pylint' will not report any errors. I have alos documented
> the checks that shall remain disabled and tweaked symbol names regexps
> to match buildbot's style.
>
> I plan to update that file if we decide to exapand 'don't care' list and
> make a pull request once we are happy with it. Then we can start working
> on fixing reported issues :P

I have made a pull request with the pylint settings above:

https://github.com/buildbot/buildbot/pull/797

We can always tweak pylint settings as we go along. Once we start using 
pyling and work on fixing pylint warnings, it will be easier to figure 
out what settings works for buildbot code base.

/elmir




More information about the devel mailing list