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

Kashyap Chamarthy kchamart at redhat.com
Mon Apr 28 11:56:00 UTC 2014


On Mon, Apr 28, 2014 at 03:47:14PM +0530, Deepak Shetty wrote:
> Why is this not part of cinder or devstack dep and why isn't this auto
> installed ?
> I searched the HACKING and CONTRIBUTING docs.. none of them explain how to
> sanity check your code before posting it to gerrit ... yum search and pip
> install didn't help me install tox-epep8...
>  How do i proceed ?

Seems like you're searching for the wrong packages. Try this:

    $ yum install python-tox python-pep8 -y

That should bring you what you need. Then, you can try:

    $ tox -epep8

PS: Per Fedora packaging conventions, all PyPI packages are prefixed
with 'python-'

-- 
/kashyap





More information about the OpenStack-dev mailing list