1
0
mirror of https://github.com/django/django.git synced 2025-04-01 12:06:43 +00:00

[5.0.x] Pinned black == 24.10.0 in GitHub actions, pre-commit and test requirements.

This commit is contained in:
Sarah Boyce 2025-03-25 17:19:07 +01:00 committed by nessita
parent f00239cbf6
commit 717e34bd48
4 changed files with 5 additions and 5 deletions

View File

@ -59,4 +59,4 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: black
uses: psf/black@stable
uses: psf/black@24.10.0

View File

@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.1.0
rev: 24.10.0
hooks:
- id: black
exclude: \.py-tpl$
@ -9,7 +9,7 @@ repos:
hooks:
- id: blacken-docs
additional_dependencies:
- black==24.1.0
- black==24.10.0
files: 'docs/.*\.txt$'
- repo: https://github.com/PyCQA/isort
rev: 5.13.2

View File

@ -2,7 +2,7 @@ aiosmtpd
asgiref >= 3.7.0
argon2-cffi >= 19.2.0
bcrypt
black
black == 24.10.0
docutils >= 0.19
geoip2; python_version < '3.12'
jinja2 >= 2.11.0

View File

@ -37,7 +37,7 @@ commands =
[testenv:black]
basepython = python3
usedevelop = false
deps = black
deps = black == 24.10.0
changedir = {toxinidir}
commands = black --check --diff .