From af28ee776cdcaa76e73b701e8e6e6005f6e160b8 Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Thu, 3 Oct 2019 20:28:04 -0400 Subject: [PATCH] add linter script --- scripts/lint.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 scripts/lint.sh diff --git a/scripts/lint.sh b/scripts/lint.sh new file mode 100755 index 0000000..c7467e2 --- /dev/null +++ b/scripts/lint.sh @@ -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