mirror of
https://github.com/django/django.git
synced 2025-07-07 03:09:22 +00:00
[4.0.x] Refs #33476 -- Added GitHub action to run black linter.
Backport of cf5e61cf6c721121abf7347baff3d41a0ad3c23e from main
This commit is contained in:
parent
9a7755fa2d
commit
224c64a733
8
.github/workflows/linters.yml
vendored
8
.github/workflows/linters.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user