build: make it fail in case of pylint warnings (#56288)

This commit is contained in:
Lauréline Guérin 2021-08-20 15:14:33 +02:00
parent d0e444ee7e
commit d7e4849276
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
2 changed files with 2 additions and 2 deletions

View File

@ -2,4 +2,4 @@
set -e -x
env
pylint -f parseable --rcfile pylint.rc "$@" | tee pylint.out || /bin/true
pylint -f parseable --rcfile pylint.rc "$@" | tee pylint.out; test $PIPESTATUS -eq 0

View File

@ -38,5 +38,5 @@ commands =
./getlasso3.sh
python manage.py compilemessages
py.test {env:COVERAGE:} {posargs: --junitxml=junit-{envname}.xml tests/}
pylint: ./pylint.sh combo/
pylint: ./pylint.sh combo/ tests/
codestyle: pre-commit run --all-files --show-diff-on-failure