Use JvmGlobalLocks in vpnmanager
[netvirt.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index e3908be0205621e7492ca970e47ff86e2f4503c1..f15d569b4d40b283924b8213881279ca33342680 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,8 +1,25 @@
 [tox]
 minversion = 1.6.0
-envlist = docs
+envlist = coala,docs,pre-commit
 skipsdist = true
 
+[testenv:coala]
+basepython = python3
+deps =
+    coala==0.11.0
+    coala-bears==0.11.0
+    pygments~=2.3.1
+    requests~=2.21.0
+commands =
+    coala --non-interactive
+
 [testenv:docs]
-deps = sphinx
-commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
+deps = -rdocs/requirements.txt
+commands =
+    sphinx-build -W -n -b html -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
+
+[testenv:pre-commit]
+deps = pre-commit
+commands =
+    pre-commit install --hook-type commit-msg
+    pre-commit run --all-files