Skip to content

Commit cc1ef5c

Browse files
author
user
committed
ignore build dir and others
1 parent 0513cba commit cc1ef5c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/check-syntax.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,12 @@ done
117117
# check other python scripts
118118
echo "-----------------------------------------"
119119
echo "checking other python scripts with pylint"
120-
find . -name "*.py" -not -path "./dotdrop/*" -not -regex "\./\.?v?env/.*" | while read -r script; do
120+
find . -name "*.py" \
121+
-not -path "./dotdrop/*" \
122+
-not -path "./build/*" \
123+
-not -path "./dist/*" \
124+
-not -regex "\./\.?v?env/.*" \
125+
| while read -r script; do
121126
echo "checking ${script}"
122127
pylint -sn \
123128
--disable=W0012 \

0 commit comments

Comments
 (0)