Commit Graph

8 Commits

Author SHA1 Message Date
James E. Blair b81c50a8e8 Add extra note about pep8
Change-Id: Icab19dfc9deb8a47cc18154a621ccc78cc25c0c7
2015-04-12 16:41:25 -04:00
Christoph Gysin f48df0ffdd flake8: Fix F401,F403
This commit fixes the following flake8 issues:

F401 'foo' imported but unused
F403 'from foo import *' used; unable to detect undefined names

Change-Id: I163224c65f54a2e495d6469c1c26a115ad192e23
2015-04-12 16:40:40 -04:00
Christoph Gysin bfeabc58b4 flake8: Fix F821,F841
This commit fixes the following flake8 issues:

F821 undefined name 'name'
F841 local variable 'name' is assigned to but never used

It also silences the false-positives caused by parser.py and
tokenizer.py.

Change-Id: Icdc42f47f5f1f383054d8dfdeed6509fc478637b
2015-04-12 16:36:42 -04:00
James E. Blair 5a46a5bbed Add notes on pep8 and pyflakes
Change-Id: I8223269d7d56a0e3bffd2f0820d8fee706d418f0
2015-04-12 16:06:51 -04:00
Christoph Gysin 8820b4214e tox: Fix flake8 setup
This fixes the tox configuration for the flake8 target.

It excludes all existing flake8 issues, so the flake8 target succeeds.
In the following commits, I will fix these flake issues individually,
and remove the corresponding exclude from the list, so that every commit
passes the flake8 test.

It also adds the generated .tox folder to .gitignore.

Change-Id: I1f583d9e344b5af644f99ba2a94a09ecaff61176
2015-04-12 21:35:07 +03:00
Christian Berendt cdcbbea2c6 Remove call of 'python setup.py testr' in tox.ini
Because we do not have a .testr.conf configuration file the call of
python setup.py testr will fail.

Change-Id: I04a7111fb63a10c5b9631633d54f4b2b3508a6bc
2014-10-07 11:56:28 +02:00
Monty Taylor 4427ce1cc1 Rename doc environment to docs
As per the governance resolution https://review.openstack.org/119875,
projects should have a docs environment in their tox.ini testing
interface. Rename the doc environment to docs.

Change-Id: Ib3c26755b780e6910df3e18dffc5db24c30c0324
2014-09-08 13:51:19 -07:00
James E. Blair 92c99dc83f Add tox.ini
Needed to build packages in openstack-infra.

Change-Id: I007e9dc05e4ab898280cb81c027319961fb2d312
2014-09-04 14:42:35 -07:00