Fix node dependencies to work inside tox
[integration/packaging.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index ac347371182c6a0e49b943b64063dbdde9d02227..3c6b19e7ba7abfae9dade2a7cf6f673e6b05a114 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,25 +1,20 @@
 [tox]
 minversion = 1.6.0
-envlist = docs,pep8
+envlist = docs,coala
 skipsdist = true
 
+[testenv:coala]
+basepython = python3
+deps =
+    coala
+    coala-bears
+    nodeenv
+commands =
+    nodeenv -p
+    npm install --global dockerfile_lint
+    npm install --global remark-cli
+    coala --non-interactive
+
 [testenv:docs]
 deps = sphinx
 commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
-
-[testenv:pep8]
-deps = flake8
-commands = flake8
-
-[flake8]
-show-source = True
-show-pep8 = True
-statistics = True
-max-line-length = 100
-verbose = 1
-exclude =
-    docs/conf.py,
-    .git,
-    __pycache__,
-    .vagrant,
-    .tox