Skip to content
Code-Schnipsel Gruppen Projekte

modernize pylint

Zusammengeführt Hans-Christoph Steiner requested to merge eighthave/fdroidserver:modernize-pylint into master
+ 8
5
@@ -90,9 +90,12 @@ sh hooks/pre-commit
pylint=/usr/bin/pylint3
if [ -e $pylint ]; then
cd $WORKSPACE
# call with 'python3' to use the pyvenv so pylint checks against its installed libs
python3 $pylint \
--rcfile=.pylint-rcfile \
--output-format=parseable --reports=n \
fdroidserver/*.py fdroid makebuildserver setup.py > $WORKSPACE/pylint.parseable
# call with 'python3' to force pylint to use the pyvenv and its libs
python3 $pylint --rcfile=.pylint-rcfile --output-format=colorized --reports=n \
fdroid \
makebuildserver \
setup.py \
fdroidserver/*.py \
tests/*.py \
tests/*.TestCase
fi
Lade