diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-06-15 13:17:24 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-06-15 13:17:24 +0200 |
commit | c37767910317fd9b5f38469ba9b84a0bbf5816dd (patch) | |
tree | d452d07f0f143b3f9256325e840dd4e5be846e37 /manage | |
parent | 36184b2f29187e37061590b40ce404b6a2a20c55 (diff) | |
download | searxng-c37767910317fd9b5f38469ba9b84a0bbf5816dd.tar.gz searxng-c37767910317fd9b5f38469ba9b84a0bbf5816dd.zip |
[fix] test.yamllint: return non-zero exit code on warnings
SearXNG's YAML files should be free of any warnings. This will stop the test
when there are warnings like::
[warning] truthy value should be one of [false, true] (truthy)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'manage')
-rwxr-xr-x | manage | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -661,7 +661,8 @@ format.python() { test.yamllint() { build_msg TEST "[yamllint] \$YAMLLINT_FILES" - pyenv.cmd yamllint --format parsable "${YAMLLINT_FILES[@]}" + pyenv.cmd yamllint --strict --format parsable "${YAMLLINT_FILES[@]}" + dump_return $? } test.pylint() { |