summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlton Gibson <carlton.gibson@noumenal.es>2022-02-03 15:49:14 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-08 12:02:14 +0100
commit224c64a7338b9fa623fe24d49375a9f4afe02cf3 (patch)
tree443cc0c3609d430edcb2493335c336fc69a39bdf
parent9a7755fa2dde3434e7f0778e8641bac919be0649 (diff)
[4.0.x] Refs #33476 -- Added GitHub action to run black linter.
Backport of cf5e61cf6c721121abf7347baff3d41a0ad3c23e from main
-rw-r--r--.github/workflows/linters.yml8
1 files changed, 8 insertions, 0 deletions
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