diff options
author | Monty Taylor <mordred@inaugust.com> | 2013-03-19 20:15:59 -0700 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2013-03-24 16:36:56 +0100 |
commit | 14a75981b2c4d646b63be333024f98cf9db368a2 (patch) | |
tree | cc1c719c0e39b21d217f20b9f3baca17604fb7aa /tox.ini | |
parent | 329b8dd639e4f65369547f96f0ad841bb2fdf113 (diff) | |
download | oslo-14a75981b2c4d646b63be333024f98cf9db368a2.tar.gz oslo-14a75981b2c4d646b63be333024f98cf9db368a2.tar.xz oslo-14a75981b2c4d646b63be333024f98cf9db368a2.zip |
Update to use flake8.
flake8 is pluggable and handles pep8 and pyflakes, as well as configuration
through tox.ini. It also removes the need for flakes.py.
Change-Id: If5f7d8ad348b4fb8119fa4ec7b5e9d17bdc72a39
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -13,8 +13,12 @@ deps = -r{toxinidir}/tools/pip-requires -r{toxinidir}/tools/test-requires commands = nosetests --with-doctest --exclude-dir=tests/testmods {posargs} +[flake8] +show-source = True +exclude = .venv,.tox,dist,doc,*.egg,.update-venv + [testenv:pep8] -commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,*.egg,.update-venv . +commands = flake8 [testenv:pylint] deps = pylint>=0.26.0 @@ -27,10 +31,5 @@ setenv = NOSE_WITH_COVERAGE=1 [testenv:venv] commands = {posargs} -[testenv:full] -deps = -r{toxinidir}/tools/pip-requires - -r{toxinidir}/tools/test-requires - -r{toxinidir}/tools/test-options - [testenv:pyflakes] -commands = python tools/flakes.py openstack setup.py update.py +commands = flake8 |