Skip to content

Commit

Permalink
ci: Add a Python code formatting job
Browse files Browse the repository at this point in the history
  • Loading branch information
robinlinden committed Oct 14, 2023
1 parent 95643ae commit dcff638
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,15 @@ jobs:
- run: pip install gitlint==0.19.1
- run: gitlint --commits origin/master..

# https://github.com/psf/black
black:
runs-on: ubuntu-22.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- run: pip install black==23.9.1
- run: black --check --diff .

concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true

0 comments on commit dcff638

Please sign in to comment.