Skip to content

Commit

Permalink
ci: add black-lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thegamecracks committed Jul 10, 2024
1 parent 190a1f2 commit a3dafb6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/black-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Lint with black

on:
push:
paths:
- 'src/**.py'
- 'tests/**.py'
pull_request:
branches:
- main
paths:
- 'src/**.py'
- 'tests/**.py'

jobs:
lint:
name: Run black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@24.4.2

0 comments on commit a3dafb6

Please sign in to comment.