Add a script for running all pylint stuff

It's just a conveniece, but it's pretty convenient
This commit is contained in:
Eli Ribble 2016-05-02 09:31:54 -06:00
parent 4386c23f2f
commit ccde1908ba
1 changed files with 10 additions and 0 deletions

10
pylint.sh Executable file
View File

@ -0,0 +1,10 @@
PROJECT=vanth
SCRIPTS="bin/vanth"
mkdir -p dist
if [ -z "$1" ]; then
FILES="conftest.py setup.py $(find $PROJECT -maxdepth 3 -name "*.py" -not -path "*alembic/*" -print) $SCRIPTS $(find tests -maxdepth 3 -name "*.py" -print)"
else
FILES="$1"
echo "linting $FILES"
fi
pylint $FILES --reports=no | tee dist/pylint.log