mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 20:19:46 +00:00
more python versions support
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
|
||||
echo "-----------------------------------------"
|
||||
echo "checking other python scripts with pylint"
|
||||
find . -name "*.py" -not -path "./dotdrop/*" -not -regex "\./\.?v?env/.*" | while read -r script; do
|
||||
find . \
|
||||
-path "./dotdrop" -prune -o \
|
||||
-path "./.venv" -prune -o \
|
||||
-path "./venv" -prune -o \
|
||||
-path "./build" -prune -o \
|
||||
-name "*.py" -print | while read -r script; do
|
||||
echo "checking ${script}"
|
||||
pylint -sn \
|
||||
--disable=W0012 \
|
||||
|
||||
Reference in New Issue
Block a user