Skip to content

Commit

Permalink
Update black.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
75efb6 authored Jan 8, 2025
1 parent ec74870 commit 65ae18d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ jobs:
uses the [psf/black](https://github.com/psf/black) formatter to fix these issues.
base: ${{ github.head_ref }} # Creates pull request onto pull request or commit branch
branch: actions/black
- name: Fail if code is not formatted correctly
if: steps.action_black.outputs.is_formatted == 'true'
run: exit 1

0 comments on commit 65ae18d

Please sign in to comment.