Remove GENIUS UTIL references in Statistics Module
[netvirt.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 2baea0d00c5544f5b66484f66aa289b1df33c124..c065e39d3fb5f13f6082381ebd3d2bd693c41bb4 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,11 +1,27 @@
 [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
+    detox~=0.18
+    pygments~=2.3.1
+    requests~=2.21.0
+commands =
+    coala --non-interactive
+
 [testenv:docs]
 deps = -rdocs/requirements.txt
 commands =
-    sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
-    echo "Generated docs available in {envtmpdir}/html"
-whitelist_externals = echo
+    sphinx-build -W -n -b html -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
+
+[testenv:pre-commit]
+basepython = python3
+deps = pre-commit
+commands =
+    pre-commit install --hook-type commit-msg
+    pre-commit run --all-files