Skip to content

Commit

Permalink
Ignore virtual envs in pylint checks in check-syntax.sh
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
Maetveis authored and deadc0de6 committed Sep 24, 2023
1 parent cf8bd39 commit 58745e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check-syntax.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 58745e9

Please sign in to comment.