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

Dustin J. Mitchell dustin at v.igoro.us
Sat Jul 6 14:47:20 UTC 2013

On Fri, Jul 5, 2013 at 5:34 PM, Dustin J. Mitchell <dustin at v.igoro.us> wrote:
> I'm actually fine with this kind of one-line loop, especially in
> tests.  Also, i suspect W0106 will trigger on a bare
> `json.dumps(foo)`, which we often use in tests to verify that
> something is JSON-able.

In fact, most of our pylint violations are probably in the tests,
where we do funny things in order to simulate desired circumstances
for the tests.  Is there a way to apply a more stringent set of
requirements to the production code than to the test code?


More information about the devel mailing list