<div dir="ltr"><div>Deepak,</div>Sean meant that 'tox -epep8' is the command that runs the pep8 checks.<div>You can install tox with 'pip install tox' and pep8 with 'pip install pep8'. Once you have those, run 'tox -epep8'</div>
<div><br></div><div>Thanks,</div><div>Avishay</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 28, 2014 at 1:15 PM, Deepak Shetty <span dir="ltr"><<a href="mailto:dpkshetty@gmail.com" target="_blank">dpkshetty@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">[stack@devstack-vm cinder]$ sudo pip install tox-epep8<br>Downloading/unpacking tox-epep8<br> Could not find any downloads that satisfy the requirement tox-epep8<br>
Cleaning up...<br>No distributions at all found for tox-epep8<br>
Storing complete log in /root/.pip/pip.log<br><br>[stack@devstack-vm cinder]$ sudo yum search tox-epep8<br>Warning: No matches found for: tox-epep8<br>No matches found<br>[stack@devstack-vm cinder]$ <br><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div><div class="h5">On Mon, Apr 28, 2014 at 3:39 PM, Sean Dague <span dir="ltr"><<a href="mailto:sean@dague.net" target="_blank">sean@dague.net</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<div><div>On 04/28/2014 06:08 AM, Deepak Shetty wrote:<br>
> Hi,<br>
><br>
> H703 Multiple positional placeholders<br>
><br>
> I got this for one of my patch and googling i could find that the fix is<br>
> to use<br>
> dict instead of direct substitues.. which i did.. but it still gives me<br>
> the error :(<br>
><br>
> Also just running pep8 locally on my glsuterfs.py file doesn't show any<br>
> issue<br>
> but gerrit does.<br>
> So how do i run the same pep8 that gerrit does locally on my box, so<br>
> that I don't end up resending new patches due to failed gerrit build<br>
> checks ?<br>
<br>
</div></div>tox -epep8<br>
<span><font color="#888888"><br>
-Sean<br>
<br>
--<br>
Sean Dague<br>
<a href="http://dague.net" target="_blank">http://dague.net</a><br>
<br>
</font></span><br></div></div>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>