Simplify variable to 1 line
[releng/builder.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index ee12e8ea750cc4a09155fb84d7ede57cc393d276..8d443a21f4881ea0b91400418ab137c74a1929c4 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,8 +1,17 @@
 [tox]
 minversion = 1.6
-envlist = docs
+envlist = docs,pep8,yamllint
 skipsdist = true
 
 [testenv:docs]
 deps = sphinx
-commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
+commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
+
+[testenv:pep8]
+deps = flake8
+commands = flake8 scripts/
+
+[testenv:yamllint]
+deps = yamllint
+commands = yamllint -c yamllint.conf .
+