From 58745e92d4992d2c6efc49d0d54423259f1d0351 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9sz=C3=A1ros=20Gergely?= Date: Sun, 24 Sep 2023 09:04:47 +0000 Subject: [PATCH] Ignore virtual envs in pylint checks in check-syntax.sh It is common to place the virtual environment into the repository folder, and this is already supported recognized in the `.gitignore`. Also ignore these folders in `tests.sh`. --- scripts/check-syntax.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-syntax.sh b/scripts/check-syntax.sh index 9b05cfa..fdee823 100755 --- a/scripts/check-syntax.sh +++ b/scripts/check-syntax.sh @@ -111,7 +111,7 @@ done # check other python scripts echo "-----------------------------------------" echo "checking other python scripts with pylint" -find . -name "*.py" -not -path "./dotdrop/*" | while read -r script; do +find . -name "*.py" -not -path "./dotdrop/*" -not -regex "\./\.?v?env/.*" | while read -r script; do echo "checking ${script}" pylint -sn \ --disable=R0914 \