1
0
Fork 0
qemu/tests/lcitool/libvirt-ci/containers/flake8/flake8.sh
Daniel Baumann ea34ddeea6
Adding upstream version 1:10.0.2+ds.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 14:27:05 +02:00

17 lines
314 B
Bash
Executable file

#!/bin/sh
flake8
if test "$?" != "0"
then
echo
echo "❌ ERROR: some files failed flake8 code style check"
echo
echo "See the flake8.txt artifact for full details of mistakes."
echo
flake8 --show-source > flake8.txt
exit 1
fi
echo "✔ OK: all files passed flake8 code style check"