Skip to content

Commit

Permalink
Add action to check Python formatting with black (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasongraffius authored Sep 6, 2024
1 parent 495d3f2 commit fa103b7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/verify-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,12 @@ jobs:
repository-cache: true
- run: echo "CC=${{ matrix.cpp-compiler }}" >> $GITHUB_ENV
- run: bazel test ...
check-formatting:
name: "Check Python formatting"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
options: "--check --verbose"
version: "24.8.0"

0 comments on commit fa103b7

Please sign in to comment.