From 91f3d5b7d08be5ca9cda4fc931f1fff0a7231811 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Sat, 6 Mar 2021 02:38:00 +0000 Subject: [PATCH 1/1] 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. --- tox.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.11.0