mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-11 21:14:00 +00:00
ignore build dir and others
This commit is contained in:
7
scripts/check-syntax.sh
vendored
7
scripts/check-syntax.sh
vendored
@@ -117,7 +117,12 @@ done
|
|||||||
# check other python scripts
|
# check other python scripts
|
||||||
echo "-----------------------------------------"
|
echo "-----------------------------------------"
|
||||||
echo "checking other python scripts with pylint"
|
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}"
|
echo "checking ${script}"
|
||||||
pylint -sn \
|
pylint -sn \
|
||||||
--disable=W0012 \
|
--disable=W0012 \
|
||||||
|
|||||||
Reference in New Issue
Block a user