summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini17
1 files changed, 11 insertions, 6 deletions
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
+