Skip to content

Commit a73eed2

Browse files
committed
[5.2.x] Pinned black == 25.12.0 in GitHub actions, pre-commit and test requirements.
1 parent 490e495 commit a73eed2

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/linters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
with:
6969
persist-credentials: false
7070
- name: black
71-
uses: psf/black@stable
71+
uses: psf/black@25.12.0
7272

7373
zizmor:
7474
runs-on: ubuntu-latest

.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-pre-commit-mirror
3-
rev: 25.1.0
3+
rev: 25.12.0
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==25.1.0
12+
- black==25.12.0
1313
files: 'docs/.*\.txt$'
1414
args: ["--rst-literal-block"]
1515
- repo: https://github.com/PyCQA/isort

tests/requirements/py3.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ aiosmtpd
22
asgiref >= 3.8.1
33
argon2-cffi >= 19.2.0
44
bcrypt
5-
black
5+
black == 25.12.0
66
docutils >= 0.19
77
geoip2
88
jinja2 >= 2.11.0

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ commands =
3838
[testenv:black]
3939
basepython = python3
4040
usedevelop = false
41-
deps = black
41+
deps = black == 25.12.0
4242
changedir = {toxinidir}
4343
commands = black --check --diff .
4444

0 commit comments

Comments
 (0)