Skip to content

Commit 71dd587

Browse files
authored
[4.2.x] Pinned black == 23.12.1 in GitHub actions, pre-commit and test requirements.
1 parent 74582b8 commit 71dd587

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/linters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ jobs:
5959
- name: Checkout
6060
uses: actions/checkout@v4
6161
- name: black
62-
uses: psf/black@stable
62+
uses: psf/black@23.12.1

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 23.3.0
3+
rev: 23.12.1
44
hooks:
55
- id: black
66
exclude: \.py-tpl$
@@ -9,7 +9,7 @@ repos:
99
hooks:
1010
- id: blacken-docs
1111
additional_dependencies:
12-
- black==23.3.0
12+
- black==23.12.1
1313
- repo: https://github.com/PyCQA/isort
1414
rev: 5.12.0
1515
hooks:

tests/requirements/py3.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ asgiref >= 3.6.0
33
argon2-cffi >= 19.2.0
44
backports.zoneinfo; python_version < '3.9'
55
bcrypt
6-
black
6+
black == 23.12.1
77
docutils
88
geoip2; python_version < '3.12'
99
jinja2 >= 2.11.0

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ commands =
3636
[testenv:black]
3737
basepython = python3
3838
usedevelop = false
39-
deps = black
39+
deps = black == 23.12.1
4040
changedir = {toxinidir}
4141
commands = black --check --diff .
4242

0 commit comments

Comments
 (0)