mirror of
https://github.com/django/django.git
synced 2025-06-04 02:59:13 +00:00
[5.1.x] Pinned black == 24.10.0 in GitHub actions, pre-commit and test requirements.
This commit is contained in:
parent
3266f2516c
commit
e38a80773d
2
.github/workflows/linters.yml
vendored
2
.github/workflows/linters.yml
vendored
@ -59,4 +59,4 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: black
|
- name: black
|
||||||
uses: psf/black@stable
|
uses: psf/black@24.10.0
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/psf/black-pre-commit-mirror
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
||||||
rev: 24.2.0
|
rev: 24.10.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
exclude: \.py-tpl$
|
exclude: \.py-tpl$
|
||||||
@ -9,7 +9,7 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: blacken-docs
|
- id: blacken-docs
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- black==24.2.0
|
- black==24.10.0
|
||||||
files: 'docs/.*\.txt$'
|
files: 'docs/.*\.txt$'
|
||||||
args: ["--rst-literal-block"]
|
args: ["--rst-literal-block"]
|
||||||
- repo: https://github.com/PyCQA/isort
|
- repo: https://github.com/PyCQA/isort
|
||||||
|
@ -2,7 +2,7 @@ aiosmtpd
|
|||||||
asgiref >= 3.8.1
|
asgiref >= 3.8.1
|
||||||
argon2-cffi >= 19.2.0
|
argon2-cffi >= 19.2.0
|
||||||
bcrypt
|
bcrypt
|
||||||
black
|
black == 24.10.0
|
||||||
docutils >= 0.19
|
docutils >= 0.19
|
||||||
geoip2
|
geoip2
|
||||||
jinja2 >= 2.11.0
|
jinja2 >= 2.11.0
|
||||||
|
2
tox.ini
2
tox.ini
@ -37,7 +37,7 @@ commands =
|
|||||||
[testenv:black]
|
[testenv:black]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
usedevelop = false
|
usedevelop = false
|
||||||
deps = black
|
deps = black == 24.10.0
|
||||||
changedir = {toxinidir}
|
changedir = {toxinidir}
|
||||||
commands = black --check --diff .
|
commands = black --check --diff .
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user