diff --git a/tox.ini b/tox.ini
index 21e9f406fd..c8a912b82e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,7 +11,9 @@ deps = -r{toxinidir}/requirements.txt
 commands = {posargs}
 
 [testenv:pep8]
-commands = python ./tools/yaml-validate.py .
+commands =
+    python ./tools/process-templates.py
+    python ./tools/yaml-validate.py .
 
 [testenv:templates]
-commands = python ./tools/process-templates.py .
+commands = python ./tools/process-templates.py