Added a tox job for running flake8 under Python 3
Change-Id: I04a78cc5e3613d1d765d716633bca297bf7207b6
This commit is contained in:
1 changed files with 10 additions and 0 deletions
10
tox.ini
10
tox.ini
@@ -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}
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.