tox: mark build in error if pylint fails (#61362)
gitea/authentic2-auth-fedict/pipeline/head This commit looks good Details

This commit is contained in:
Frédéric Péters 2023-05-25 09:24:28 +02:00
parent fa85790460
commit b750ba777f
2 changed files with 2 additions and 2 deletions

View File

@ -10,4 +10,4 @@ else
echo No pylint RC found echo No pylint RC found
exit 0 exit 0
fi fi
pylint -f parseable --rcfile ${PYLINT_RC} "$@" > pylint.out || /bin/true pylint -f parseable --rcfile ${PYLINT_RC} "$@" | tee pylint.out; test $PIPESTATUS -eq 0

View File

@ -67,7 +67,7 @@ deps =
pylint-django pylint-django
commands = commands =
./getlasso3.sh ./getlasso3.sh
/bin/bash -c "./pylint.sh src/authentic2_auth_fedict/" ./pylint.sh src/authentic2_auth_fedict/
[testenv:code-style] [testenv:code-style]
skip_install = true skip_install = true