1
0
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:
Mészáros Gergely
2023-09-24 09:04:47 +00:00
committed by deadc0de
parent cf8bd39597
commit 58745e92d4

View File

@@ -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 \