addons-server/scripts/pylint.sh

7 строки
216 B
Bash
Executable File

#!/bin/bash
VENV=$WORKSPACE/venv
source $VENV/bin/activate
export PYTHONPATH="$WORKSPACE/..:$WORKSPACE/apps:$WORKSPACE/lib"
pylint --rcfile scripts/pylintrc $WORKSPACE 2>/dev/null > pylint.txt
echo "pylint complete"