[openstack-dev] [Cinder] pep8 issues and how to pep8 locally ?

Sean Dague sean at dague.net
Mon Apr 28 10:09:36 UTC 2014


On 04/28/2014 06:08 AM, Deepak Shetty wrote:
> Hi,
> 
> H703  Multiple positional placeholders
> 
> I got this for one of my patch and googling i could find that the fix is
> to use
> dict instead of direct substitues.. which i did.. but it still gives me
> the error :(
> 
> Also just running pep8 locally on my glsuterfs.py file doesn't show any
> issue
> but gerrit does.
> So how do i run the same pep8 that gerrit does locally on my box, so
> that I don't end up resending new patches due to failed gerrit build
> checks ?

tox -epep8

	-Sean

-- 
Sean Dague
http://dague.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140428/e9bc1331/attachment.pgp>


More information about the OpenStack-dev mailing list