diff --git a/tox.ini b/tox.ini index 2c3512fed..a3bde73cb 100644 --- a/tox.ini +++ b/tox.ini @@ -24,6 +24,15 @@ commands = flake8 {posargs} [testenv:venv] commands = {posargs} +[testenv:py3pep8] +# This hack is in place to allow us to run py3 based flake8 +# without installing barbican. +basepython = python3 +install_command = /bin/echo {packages} +commands = + pip install "hacking>=0.8.0,<0.9" + flake8 barbican setup.py + [testenv:docs] envdir = {toxworkdir}/venv commands=