[openstack-dev] [Cinder] How to run pylint locally?

Subramanian subramanian.neelakantan at gmail.com
Thu Feb 13 10:42:56 UTC 2014


Thanks for the response Dirk. I see very similar output now as shown in the
log when running 'tox -epylint', so I am getting closer. Unfortunately I am
still not able to reproduce the failure shown here
http://logs.openstack.org/17/62217/5/check/gate-cinder-pylint/1272f0a/console.html
.

What seems strange to me is that even when I plain run "pylint -E -i y
cinder" on this branch I still don't see the two lint errors reported in
above link!

- Subbu


On Thu, Feb 13, 2014 at 2:45 PM, Dirk Müller <dirk at dmllr.de> wrote:

> Hi,
>
> > Here is what I tried:
> > /opt/stack/cinder $ ./tools/lintstack.sh
> >
> > But this does not report any errors even though I am on the same branch.
> > What am I missing?
>
> You might be running against local packages then which have a
> different version / output. The proper way to reproduce the Gate
> errors is by using "tox".
>
> in this case tox -e pylint
>
> Please note that the pylint error is nonvoting, the actual -1 comes
> from the Devstack test run failure.
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140213/ddeb4788/attachment.html>


More information about the OpenStack-dev mailing list