From 2e6250c2688516b2734540e7ab2d5be6b7ff1c8b Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Mon, 31 Dec 2018 18:33:56 +0000 Subject: [PATCH] Use yamllint --strict when called from tox To treat YAML formatting inconsistency warnings from yamllint as blocking errors for development, invoke it with --strict so that tox will report a failure rather than success. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 9e81bde..7540510 100644 --- a/tox.ini +++ b/tox.ini @@ -44,7 +44,7 @@ commands = flake8 {posargs} commands = mudpy_selftest etc/mudpy.yaml [testenv:yamllint] -commands = yamllint {posargs} . +commands = yamllint --strict {posargs} . [flake8] show-source = True -- 2.11.0