Minor update

This commit is contained in:
Miroslav Štampar 2026-06-28 10:30:35 +02:00
parent d6a754e8b2
commit 1feb6f73b9
3 changed files with 4 additions and 3 deletions

View file

@ -41,7 +41,8 @@ jobs:
shell: bash
run: |
python -m pip install pyflakes
OUT=$( (python -m pyflakes $(git ls-files '*.py' | grep -v '^thirdparty/') 2>&1 || true) | grep -v ' redefines ')
OUT=$(git ls-files '*.py' | grep -v '^thirdparty/' | xargs python -m pyflakes 2>&1) || true
OUT=$(echo "$OUT" | grep -v ' redefines ')
if [ -n "$OUT" ]; then echo "$OUT"; exit 1; fi
echo "pyflakes: clean"