mirror of
https://github.com/django/django.git
synced 2025-06-06 20:19:13 +00:00
Refs #33476 -- Added GitHub action to run black linter.
This commit is contained in:
parent
ba94488196
commit
cf5e61cf6c
8
.github/workflows/linters.yml
vendored
8
.github/workflows/linters.yml
vendored
@ -43,3 +43,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
linters: isort
|
linters: isort
|
||||||
run: isort --check --diff django tests scripts
|
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