Test sample data style with yamllint
[mudpy.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 27668ed..b4464e2 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -4,10 +4,11 @@
 
 [tox]
 minversion = 2.0
-envlist = flake8
+envlist = flake8, yamllint
 skipsdist = True
 
 [testenv]
+basepython = python3
 usedevelop = True
 install_command = pip install {opts} {packages}
 setenv =
@@ -17,9 +18,11 @@ deps = -r{toxinidir}/test-requirements.txt
 commands = python setup.py test --slowest --testr-args='{posargs}'
 
 [testenv:flake8]
-basepython=python3
 commands = flake8 {posargs}
 
+[testenv:yamllint]
+commands = yamllint {posargs} .
+
 [testenv:venv]
 commands = {posargs}