From 90924f5276de80a74ffbc51126ed81595dd2157a Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Mon, 30 Mar 2026 13:59:02 -0400 Subject: [5.2.x] Bumped black to 26.3.1. Although Django was not affected by the security issue patched in black 26.3.0, it's worth upgrading to satisfy the zizmor check. --- .github/workflows/linters.yml | 2 +- .pre-commit-config.yaml | 4 ++-- docs/requirements.txt | 2 +- tests/requirements/py3.txt | 2 +- tox.ini | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index dfe5afd8a3..b1f753fb5f 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@25.12.0 + uses: psf/black@26.3.1 zizmor: runs-on: ubuntu-latest diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 238088b631..bda46ae729 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: 26.1.0 + rev: 26.3.1 hooks: - id: black exclude: \.py-tpl$ @@ -9,7 +9,7 @@ repos: hooks: - id: blacken-docs additional_dependencies: - - black==26.1.0 + - black==26.3.1 files: 'docs/.*\.txt$' args: ["--rst-literal-block"] - repo: https://github.com/PyCQA/isort diff --git a/docs/requirements.txt b/docs/requirements.txt index 5445f6d5a5..51423ef7bd 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,5 +1,5 @@ pyenchant Sphinx>=4.5.0 sphinxcontrib-spelling -black==25.12.0 +black==26.3.1 blacken-docs diff --git a/tests/requirements/py3.txt b/tests/requirements/py3.txt index bc5b290b34..0c035a73ee 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 == 25.12.0 +black == 26.3.1 docutils >= 0.19 geoip2 jinja2 >= 2.11.0 diff --git a/tox.ini b/tox.ini index d80ad03c3d..ba8cfc45c3 100644 --- a/tox.ini +++ b/tox.ini @@ -38,7 +38,7 @@ commands = [testenv:black] basepython = python3 usedevelop = false -deps = black == 25.12.0 +deps = black == 26.3.1 changedir = {toxinidir} commands = black --check --diff . -- cgit v1.3