On Wed, Apr 28, 2010 at 11:19 AM, Nicolas Trangez <span dir="ltr"><<a href="mailto:Nicolas.Trangez@sun.com">Nicolas.Trangez@sun.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Wed, 2010-04-28 at 11:13 +0200, Arve Knudsen wrote:<br>
> Hi<br>
><br>
><br>
> Does anyone have any examples of integrating code analysis of Python<br>
> code with Hudson? We'd like to supplement our Python unittesting with<br>
> static analysis, i.e. linting. It'd also be interesting to hear about<br>
> which tools are popular for this purpose :)<br>
<br>
</div></div>I've been using the Hudson 'Violations' plugin with great success in<br>
several projects, using PyLint for static code checking.<br>
<br>
PyLint execution was performed in a custom step of the Hudson job.<br>
<br>
More info at [1] and [2].<br></blockquote><div><br></div><div>Thank you very much :) Do you have any opinion on the usefulness of e.g. PyChecker versus PyLint? </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
We use Nose's XUnit output as well (for which Hudson has built-in<br>
support).<br></blockquote><div><br></div><div>We also use Nose's xUnit, but I'm wondering how compatible it is with Hudson, since on the project status page Hudson reports "no tests" for the Latest Test Result. All tests were successful, isn't it supposed to say "no failures" (or something along those lines)?</div>
<div><br></div><div>Thanks,</div><div>Arve</div></div>