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 difference

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 a long

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 use

[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

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

2015-07-09 Thread Xiangfei Zhu
: Friday, July 10, 2015 11:15 AM To: OpenStack Development Mailing List openstack-dev@lists.openstack.orgmailto: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