ci: add formatting check

This commit is contained in:
leafspark 2024-08-04 21:04:21 -07:00 committed by GitHub
parent 247f8c1c45
commit 33275f13a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 14 additions and 0 deletions

14
.github/workflows/black.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: Black
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: psf/black@stable
with:
options: "--check --verbose"
src: "./src"