Skip to content

Commit

Permalink
Add Black formatting GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
oh2fih committed Apr 5, 2024
1 parent 88d3cf8 commit 51f35e2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Black formatting
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
black:
name: Black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Black formatting for Python scripts
uses: psf/black@stable
with:
options: --check --diff --verbose
src: .

0 comments on commit 51f35e2

Please sign in to comment.