From 73d8433ffe4ad0e619a0a0085e348e2b15fd7712 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Mon, 31 Dec 2018 18:33:56 +0000 Subject: [PATCH 1/1] 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