Skip to content

Commit

Permalink
Added Black formatting check action for GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmkenney committed Oct 15, 2024
1 parent e57f300 commit dce30f0
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "Black formatting"
on:
pull_request:
branches:
- main
push:
branches:
- main

concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
options: "--check --verbose"
src: ./gufe

0 comments on commit dce30f0

Please sign in to comment.