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

Dirk Müller dirk at dmllr.de
Thu Feb 13 09:15:47 UTC 2014


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.



More information about the OpenStack-dev mailing list