From eadfe8ec0f185ca4c16bb2998d127a323796497f Mon Sep 17 00:00:00 2001 From: Mark Hamzy Date: Fri, 21 Oct 2016 08:01:31 -0500 Subject: [PATCH] Add missing tox environments This is needed for pep8 and docs gates. Change-Id: I3114c9a28e3dc459489f24f0d6d4d47f53fbc4ac --- tox.ini | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 5a54ac7..33e7f3e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27 +envlist = py27,py34,pypy,pep8 [testenv:devenv] envdir = devenv @@ -81,3 +81,24 @@ commands = mkdir -p testenv/var/run/ --conf-dir=testenv/etc/molteniron/ \ --pid-dir=testenv/var/run/ \ stop + +[testenv:pep8] +#@TODO - too many failures +# pass pep8 in a later patch +#commands = flake8 + +[testenv:venv] +#@TODO - a separate patch +#commands = {posargs} +commands = mkdir -p doc/build/html/ + +[testenv:docs] +commands = python setup.py build_sphinx + +[flake8] +# E712 is ignored on purpose, since it is normal to use 'column == true' +# in sqlalchemy. +# The rest of the ignores are TODOs + +ignore = E712 +exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools