1
0
mirror of https://github.com/django/django.git synced 2025-03-10 01:12:53 +00:00

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

This commit is contained in:
nessita 2024-01-29 12:53:06 -03:00 committed by GitHub
parent 74582b8d11
commit 71dd587da9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View File

@ -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@23.12.1

View File

@ -1,6 +1,6 @@
repos: repos:
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 23.3.0 rev: 23.12.1
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==23.3.0 - black==23.12.1
- repo: https://github.com/PyCQA/isort - repo: https://github.com/PyCQA/isort
rev: 5.12.0 rev: 5.12.0
hooks: hooks:

View File

@ -3,7 +3,7 @@ asgiref >= 3.6.0
argon2-cffi >= 19.2.0 argon2-cffi >= 19.2.0
backports.zoneinfo; python_version < '3.9' backports.zoneinfo; python_version < '3.9'
bcrypt bcrypt
black black == 23.12.1
docutils docutils
geoip2; python_version < '3.12' geoip2; python_version < '3.12'
jinja2 >= 2.11.0 jinja2 >= 2.11.0

View File

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