From 0946882db8003d5e8c1b370e29a34891152981ea Mon Sep 17 00:00:00 2001 From: Patrick Armstrong Date: Wed, 31 Jul 2024 01:44:52 -0500 Subject: [PATCH] black linter action --- .github/workflows/black-formatter.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/black-formatter.yml 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"