add linter script

This commit is contained in:
Colin McMillen 2019-10-03 20:28:04 -04:00
parent 1f69362489
commit af28ee776c

6
scripts/lint.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
cd $SNEJ_ROOT
pylint3 --max-line-length=80 --extension-pkg-whitelist=pygame \
--variable-rgx="[a-z][a-z0-9_]{0,30}$" --indent-string=' ' \
--disable=fixme,missing-docstring **/*.py