Skip to content

Commit

Permalink
Add black GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
pieqq committed Apr 9, 2024
1 parent 33c7273 commit 83bb49c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Black formatting (79 chars lines)

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
with:
options: "--check --diff --line-length 79"

0 comments on commit 83bb49c

Please sign in to comment.