authentic2-cut/pylint.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
293 B
Bash
Raw Normal View History

2020-05-15 16:01:06 +02:00
#!/bin/bash
set -e
2019-01-24 16:40:27 +01:00
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 16:01:06 +02:00
pylint -f parseable --rcfile ${PYLINT_RC} "$@" > pylint.out || /bin/true