Add a script for running all pylint stuff
It's just a conveniece, but it's pretty convenient
This commit is contained in:
parent
4386c23f2f
commit
ccde1908ba
|
@ -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
|
Loading…
Reference in New Issue