tox: mark build in error if pylint fails (#61362)
gitea/authentic2-auth-fedict/pipeline/head This commit looks good
Details
gitea/authentic2-auth-fedict/pipeline/head This commit looks good
Details
This commit is contained in:
parent
fa85790460
commit
b750ba777f
|
@ -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
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue