From cc1ef5c001e29605745aefc0fed7f73d844b6b45 Mon Sep 17 00:00:00 2001 From: user Date: Mon, 19 May 2025 21:56:33 +0200 Subject: [PATCH] ignore build dir and others --- scripts/check-syntax.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 \