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

This commit is contained in:
Emmanuel Cazenave 2021-03-30 16:46:51 +02:00 committed by Frédéric Péters
parent 2b8a9a6252
commit 1b215ec7fd
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
#!/bin/bash
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