Skip to content

Commit 2e24ce6

Browse files
committed
Exit zero, despite black errors
1 parent fa9012c commit 2e24ce6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/check.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ jobs:
2828
uv venv
2929
uv pip sync requirements.txt
3030
uv run ruff check --exit-zero .
31-
uv run black --check .
31+
if uv run black --check . ; then
32+
echo "Black formatting check passed."
33+
else
34+
echo "Black formatting check failed. Please run 'uvx black .' to format your code."
35+
exit 1
36+
fi
3237
working-directory: .
3338
- name: Run Pyright and summarize errors if any
3439
run: |

0 commit comments

Comments
 (0)