diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml new file mode 100644 index 0000000..0d30be1 --- /dev/null +++ b/.github/workflows/black.yml @@ -0,0 +1,20 @@ +name: Black formatting +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + black: + name: Black + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Check Black formatting for Python scripts + uses: psf/black@stable + with: + options: --check --diff --verbose + src: .