Merge "Added a tox job for running flake8 under Python 3"

This commit is contained in:
Jenkins 2014-05-19 21:22:53 +00:00 committed by Gerrit Code Review
commit d326800858
1 changed files with 10 additions and 0 deletions

10
tox.ini
View File

@ -35,6 +35,16 @@ commands =
flake8 swift test doc setup.py
flake8 --filename=swift* bin
[testenv:py3pep8]
basepython = python3
install_command = echo {packages}
commands =
# Gross hack. There's no other way to get it to /not/ install swift itself
# (which triggers installing eventlet) but also get flake8 installed.
pip install flake8
flake8 swift test doc setup.py
flake8 --filename=swift* bin
[testenv:func]
commands = nosetests {posargs:test/functional}