From 0aa5dd849bbe3e25d548af48647c403265e51ac6 Mon Sep 17 00:00:00 2001 From: John Gerrard Holland Date: Fri, 4 Oct 2024 15:03:50 +0000 Subject: [PATCH] add workflow which checks formatting --- .github/workflows/black.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/black.yml diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml new file mode 100644 index 00000000..a21bfe03 --- /dev/null +++ b/.github/workflows/black.yml @@ -0,0 +1,11 @@ +name: Lint + +on: [push, pull_request] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: psf/black@stable + options: "--check --verbose" \ No newline at end of file