diff --git a/.github/workflows/black-formatter.yml b/.github/workflows/black-formatter.yml new file mode 100644 index 00000000..e3548699 --- /dev/null +++ b/.github/workflows/black-formatter.yml @@ -0,0 +1,20 @@ +name: Black Linter +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 --verbose" + src: "./src" + version: "~= 22.0"