Re: [openstack-dev] [tox/pep8] different result between running tox and pep8

2015-07-10 Thread Jeremy Stanley
On 2015-07-10 03:15:08 + (+), Gareth wrote: > 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 differe

Re: [openstack-dev] [tox/pep8] different result between running tox and pep8

2015-07-10 Thread Andrey Kurilin
>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 us

Re: [openstack-dev] [tox/pep8] different result between running tox and pep8

2015-07-10 Thread Ihar Hrachyshka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 07/10/2015 05:15 AM, Gareth 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

Re: [openstack-dev] [tox/pep8] different result between running tox and pep8

2015-07-09 Thread Xiangfei Zhu
Stack Development Mailing List mailto:openstack-dev@lists.openstack.org>> 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

[openstack-dev] [tox/pep8] different result between running tox and pep8

2015-07-09 Thread Gareth
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