fixed workflow check

This commit is contained in:
Lorenzo Venerandi
2026-01-23 22:03:47 +01:00
parent 4450d3a4e3
commit 3341b8a1b9

View File

@@ -31,7 +31,7 @@ jobs:
- name: Black format check - name: Black format check
run: | run: |
if [ -n "$(black --check src/ 2>&1 | grep -v 'Oh no')" ]; then if ! black --check src/; then
echo "Run 'black src/' to format code" echo "Run 'black src/' to format code"
black --diff src/ black --diff src/
exit 1 exit 1