diff --git a/.github/workflows/black-format.yml b/.github/workflows/black-format.yml index 77ccbfc2..e103ffd0 100644 --- a/.github/workflows/black-format.yml +++ b/.github/workflows/black-format.yml @@ -38,7 +38,9 @@ jobs: - name: Run isort run: pre-commit run isort --all-files - - name: Run black + - name: Run black/continue + # black returns non-zero error code after formatting, which is what we expect + continue-on-error: true run: pre-commit run black --all-files - name: Check for changes