From: Jeremy Stanley Date: Mon, 31 Dec 2018 18:33:56 +0000 (+0000) Subject: Use yamllint --strict when called from tox X-Git-Tag: 0.0.1~39 X-Git-Url: https://mudpy.org/gitweb?a=commitdiff_plain;h=73d8433ffe4ad0e619a0a0085e348e2b15fd7712;p=mudpy.git 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. --- 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