diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -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 + |