1
0
Fork 0
qemu/tests/lcitool/libvirt-ci/containers/black/black.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

15 lines
303 B
Bash
Executable file

#!/bin/sh
black --diff . > black.txt
if test -s black.txt
then
echo
echo "❌ ERROR: some files failed black code formatting check"
echo
echo "See the black.txt artifact for full details of mistakes."
echo
exit 1
fi
echo "✔ OK: all files passed black code formatting check"