authentic2-auth-kerberos/pylint.sh

14 lines
293 B
Bash
Raw Permalink Normal View History

2020-05-15 11:13:20 +02:00
#!/bin/bash
set -e
if [ -f /var/lib/jenkins/pylint.django.rc ]; then
PYLINT_RC=/var/lib/jenkins/pylint.django.rc
elif [ -f pylint.django.rc ]; then
PYLINT_RC=pylint.django.rc
else
echo No pylint RC found
exit 0
fi
2020-05-15 11:13:20 +02:00
pylint -f parseable --rcfile ${PYLINT_RC} "$@" > pylint.out || /bin/true