Create black.yaml

This commit is contained in:
2024-04-20 13:41:21 +02:00
committed by GitHub
parent d888365755
commit a2138c00f1

17
.github/workflows/black.yaml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Lint
on:
push:
branches: [ "main", "dev" ]
pull_request:
branches: ["main"]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
options: "--check"
src: "."