From 1b215ec7fd90f3cd2a76e7924082f5bd92fa9d3e Mon Sep 17 00:00:00 2001 From: Emmanuel Cazenave Date: Tue, 30 Mar 2021 16:46:51 +0200 Subject: [PATCH] build: make it fail in case of pylint warnings (#52438) --- pylint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pylint.sh b/pylint.sh index 106715fbb..ba7a6c3af 100755 --- a/pylint.sh +++ b/pylint.sh @@ -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