diff --git a/scripts/check-syntax.sh b/scripts/check-syntax.sh index e97be17..b8b6cc7 100755 --- a/scripts/check-syntax.sh +++ b/scripts/check-syntax.sh @@ -117,7 +117,12 @@ done # check other python scripts echo "-----------------------------------------" echo "checking other python scripts with pylint" -find . -name "*.py" -not -path "./dotdrop/*" -not -regex "\./\.?v?env/.*" | while read -r script; do +find . -name "*.py" \ + -not -path "./dotdrop/*" \ + -not -path "./build/*" \ + -not -path "./dist/*" \ + -not -regex "\./\.?v?env/.*" \ + | while read -r script; do echo "checking ${script}" pylint -sn \ --disable=W0012 \