Projet

Général

Profil

0002-build-make-it-fail-in-case-of-pylint-warnings-56288.patch

Lauréline Guérin, 30 août 2021 17:53

Télécharger (1,02 ko)

Voir les différences:

Subject: [PATCH 02/31] build: make it fail in case of pylint warnings (#56288)

 pylint.sh | 2 +-
 tox.ini   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
pylint.sh
2 2
set -e -x
3 3
env
4 4

  
5
pylint -f parseable --rcfile pylint.rc "$@" | tee pylint.out || /bin/true
5
pylint -f parseable --rcfile pylint.rc "$@" | tee pylint.out; test $PIPESTATUS -eq 0
tox.ini
38 38
  ./getlasso3.sh
39 39
  python manage.py compilemessages
40 40
  py.test {env:COVERAGE:} {posargs: --junitxml=junit-{envname}.xml tests/}
41
  pylint: ./pylint.sh combo/
41
  pylint: ./pylint.sh combo/ tests/
42 42
  codestyle: pre-commit run --all-files --show-diff-on-failure
43
-