<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Hi,</div>
<div><br>
</div>
<div>Not sure if what I met if the same as yours.</div>
<div><br>
</div>
<div>In my case, "pep8 ." reported many errors located in the virtual environment folder. In my case, things like:</div>
<div><br>
</div>
<div>./.venv/lib/python2.7/site-packages/virtualenv.py:260:13: E265 block comment should start with '# '</div>
<div><br>
</div>
<div>To work around it, I use "pep8 <subfolder name of the package, e.g. nova, cinder>".</div>
<div><br>
</div>
<div>Hope this helps.</div>
<div><br>
</div>
<div>Xiangfei</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Gareth <<a href="mailto:academicgareth@gmail.com">academicgareth@gmail.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Date: </span>Friday, July 10, 2015 11:15 AM<br>
<span style="font-weight:bold">To: </span>OpenStack Development Mailing List <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>[openstack-dev] [tox/pep8] different result between running tox and pep8<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">Hi guys
<div><br>
</div>
<div>My problem looks simple:</div>
<div><br>
</div>
<div>Running "tox -e pep8", the result says ok, not pep8 mistakes.</div>
<div>Running "pep8 .", a lot of pep8 mistkes come out.</div>
<div><br>
</div>
<div>But in your project's tox.ini, there isn't such a long ignore list. So what makes this difference happen?</div>
<div><br>
</div>
<div>Kun</div>
</div>
</div>
</div>
</span>
</body>
</html>