summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/linters.yml2
-rw-r--r--.pre-commit-config.yaml4
-rw-r--r--tests/requirements/py3.txt2
-rw-r--r--tox.ini2
4 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml
index 936f2f90e5..dfe5afd8a3 100644
--- a/.github/workflows/linters.yml
+++ b/.github/workflows/linters.yml
@@ -68,7 +68,7 @@ jobs:
with:
persist-credentials: false
- name: black
- uses: psf/black@stable
+ uses: psf/black@25.12.0
zizmor:
runs-on: ubuntu-latest
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index d22066cbde..38644c9c74 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black-pre-commit-mirror
- rev: 25.1.0
+ rev: 25.12.0
hooks:
- id: black
exclude: \.py-tpl$
@@ -9,7 +9,7 @@ repos:
hooks:
- id: blacken-docs
additional_dependencies:
- - black==25.1.0
+ - black==25.12.0
files: 'docs/.*\.txt$'
args: ["--rst-literal-block"]
- repo: https://github.com/PyCQA/isort
diff --git a/tests/requirements/py3.txt b/tests/requirements/py3.txt
index a9679af97c..bc5b290b34 100644
--- a/tests/requirements/py3.txt
+++ b/tests/requirements/py3.txt
@@ -2,7 +2,7 @@ aiosmtpd
asgiref >= 3.8.1
argon2-cffi >= 19.2.0
bcrypt
-black
+black == 25.12.0
docutils >= 0.19
geoip2
jinja2 >= 2.11.0
diff --git a/tox.ini b/tox.ini
index 7781a1ab6a..d80ad03c3d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -38,7 +38,7 @@ commands =
[testenv:black]
basepython = python3
usedevelop = false
-deps = black
+deps = black == 25.12.0
changedir = {toxinidir}
commands = black --check --diff .