summaryrefslogtreecommitdiff
path: root/manage
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-06-15 13:17:24 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2022-06-15 13:17:24 +0200
commitc37767910317fd9b5f38469ba9b84a0bbf5816dd (patch)
treed452d07f0f143b3f9256325e840dd4e5be846e37 /manage
parent36184b2f29187e37061590b40ce404b6a2a20c55 (diff)
[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-xmanage3
1 files changed, 2 insertions, 1 deletions
diff --git a/manage b/manage
index 088fdef7..e9e5e7ca 100755
--- a/manage
+++ b/manage
@@ -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() {