From 224c64a7338b9fa623fe24d49375a9f4afe02cf3 Mon Sep 17 00:00:00 2001 From: Carlton Gibson Date: Thu, 3 Feb 2022 15:49:14 +0100 Subject: [PATCH] [4.0.x] Refs #33476 -- Added GitHub action to run black linter. Backport of cf5e61cf6c721121abf7347baff3d41a0ad3c23e from main --- .github/workflows/linters.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index d66a5bfed9..18d42a857c 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -39,3 +39,11 @@ jobs: with: linters: isort run: isort --check --diff django tests scripts + + black: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: black + uses: psf/black@stable