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

2014-02-13 Thread Subramanian
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 d...@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@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2014-02-12 Thread Subramanian
I have a quick question on how to run the cinder-gate-pylint locally. I am
trying to reproduce the pylint errors reported by the gate pylint build
here (https://review.openstack.org/#/c/62217/) locally.

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?

Thanks,
Subbu
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev