From 182311aad0be3e1886c0849165cd1dbbbe8b0820 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Mon, 25 Aug 2014 10:53:10 -1000 Subject: [PATCH] Add a py3pep8 tox job. This will verify py3 compliant syntax At this time barbican has several syntax errors that prevent this from becoming a voting gate Change-Id: I652f561264a7b389af23ee7b3569f893dfbc021e --- tox.ini | 9 +++++++++ 1 file changed, 9 insertions(+) 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=