From 7c9c25ea2adceb67b855b5b54f457290dc5acc5d Mon Sep 17 00:00:00 2001 From: Edan Binshtok Date: Wed, 18 Oct 2017 08:24:06 +0300 Subject: Add MVN and Update Tox Add files needed for MVN build. Update tox definitions. Change-Id: I2bec9c59efab416dd234536b7500abd68eafb20f Issue-Id: VVP-28 Signed-off-by: Edan Binshtok --- tox.ini | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 6a671ea..a0ea6fc 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,7 @@ + [tox] skipsdist=True -envlist = py27,py3,style +envlist = py3,style setupdir = imagescanner/ [testenv] @@ -9,15 +10,19 @@ commands = {envpython} --version pytest --version pytest --cov=imagescanner -deps = flake8 +deps = + flake8 pytest-cov pytest -[testenv:style] -commands = flake8 -[testenv:py27] -basepython=python2.7 +[testenv:style] +commands = python -m flake8 [testenv:py3] basepython=python3.6 + +[flake8] +show-source = True +exclude=venv-tox,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build + -- cgit 1.2.3-korg