Skip to content

Commit

Permalink
Add Black format check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Frits Sweijen committed Jan 28, 2024
1 parent e37931a commit f099b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
args: .
- name: Check for modified files
id: git-check
run: echo "modified=$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi)" >> $GITHUB_OUTPUT
run: echo "modified=$(if git diff-index --quiet HEAD --; then echo "Code formatting inconsistent. Please format using Black."; else echo "Code formatting is consistent with Black."; fi)" >> $GITHUB_OUTPUT

0 comments on commit f099b91

Please sign in to comment.