[openstack-dev] [tox/pep8] different result between running tox and pep8
Andrey Kurilin
akurilin at mirantis.com
Fri Jul 10 10:57:03 UTC 2015
>Running "pep8 .", a lot of pep8 mistkes come out.
1) `pep8 .` checks all files in directory(including build files, envs and
etc).
2) `pep8 .` doesn't use tox.ini file, which can contain list of ignored
rules. For example, it can looks like:
[flake8]
ignore = H703
3) Most of OpenStack projects use flake8 instead of pep8
On Fri, Jul 10, 2015 at 6:15 AM, Gareth <academicgareth at gmail.com> wrote:
> 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: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
--
Best regards,
Andrey Kurilin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150710/264ffd69/attachment.html>
More information about the OpenStack-dev
mailing list