[4.0.x] Refs #33476 -- Added GitHub action to run black linter.

Backport of cf5e61cf6c from main
This commit is contained in:
Carlton Gibson 2022-02-03 15:49:14 +01:00 committed by Mariusz Felisiak
parent 9a7755fa2d
commit 224c64a733
1 changed files with 8 additions and 0 deletions

View File

@ -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