Minor update

This commit is contained in:
Miroslav Štampar 2026-06-28 10:28:18 +02:00
parent 3809161b0e
commit d6a754e8b2
3 changed files with 3 additions and 3 deletions

View file

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