From: Jeremy Stanley Date: Sat, 6 Mar 2021 02:38:00 +0000 (+0000) Subject: Lint autogenerated YAML X-Git-Tag: 0.4.0~9 X-Git-Url: https://mudpy.org/gitweb?a=commitdiff_plain;h=91f3d5b7d08be5ca9cda4fc931f1fff0a7231811;p=mudpy.git Lint autogenerated YAML Run the selftest before calling yamllint, so that we can confirm the YAML files generated by the data module follow the same format as those shipped in the repository. --- diff --git a/tox.ini b/tox.ini index 6e3bdb8..84ae5a5 100644 --- a/tox.ini +++ b/tox.ini @@ -80,8 +80,9 @@ commands = mudpy_selftest etc/mudpy.yaml [testenv:yamllint] description = test data files for correct syntax and formatting deps = yamllint -commands = yamllint --strict {posargs} . -usedevelop = False +commands = + mudpy_selftest mudpy/tests/fixtures/test_daemon.yaml + yamllint --strict {posargs} . [flake8] show-source = True