mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 12:46:44 +00:00
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`.
This commit is contained in:
committed by
deadc0de
parent
cf8bd39597
commit
58745e92d4
2
scripts/check-syntax.sh
vendored
2
scripts/check-syntax.sh
vendored
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user