aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini24
1 files changed, 24 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..8698e06
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,24 @@
+[tox]
+skipsdist=True
+envlist =style-flake8, style-yamllint
+setupdir = devkit/
+
+[testenv]
+distribute = False
+deps = flake8
+ yamllint == 1.7.0
+
+[testenv:style-flake8]
+basepython=python3.6
+commands = flake8
+ python --version
+
+[testenv:style-yamllint]
+basepython=python2.7
+commands = python --version
+ yamllint {toxinidir}/ansible
+
+
+[flake8]
+show-source = True
+exclude=venv-tox,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build