1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

Merge pull request #1328 from return42/yaml-strict

[fix] test.yamllint: return non-zero exit code on warnings
This commit is contained in:
Alexandre Flament 2022-06-18 08:53:07 +02:00 committed by GitHub
commit 43b8b64866
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
manage
View File

@ -661,7 +661,8 @@ format.python() {
test.yamllint() { test.yamllint() {
build_msg TEST "[yamllint] \$YAMLLINT_FILES" 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() { test.pylint() {