Hi,

Not sure if what I met if the same as yours.

In my case, "pep8 ." reported many errors located in the virtual environment 
folder. In my case, things like:

./.venv/lib/python2.7/site-packages/virtualenv.py:260:13: E265 block comment 
should start with '# '

To work around it, I use "pep8 <subfolder name of the package, e.g. nova, 
cinder>".

Hope this helps.

Xiangfei

From: Gareth <[email protected]<mailto:[email protected]>>
Reply-To: "OpenStack Development Mailing List (not for usage questions)" 
<[email protected]<mailto:[email protected]>>
Date: Friday, July 10, 2015 11:15 AM
To: OpenStack Development Mailing List 
<[email protected]<mailto:[email protected]>>
Subject: [openstack-dev] [tox/pep8] different result between running tox and 
pep8

Hi guys

My problem looks simple:

Running "tox -e pep8", the result says ok, not pep8 mistakes.
Running "pep8 .", a lot of pep8 mistkes come out.

But in your project's tox.ini, there isn't such a long ignore list. So what 
makes this difference happen?

Kun
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to