mirror of
https://github.com/django/django.git
synced 2025-09-27 12:39:17 +00:00
Refs #33476 -- Added GitHub action to run black linter.
This commit is contained in:
parent
ba94488196
commit
cf5e61cf6c
1 changed files with 8 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue