diff options
| author | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-03-25 17:19:07 +0100 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-03-25 15:57:37 -0300 |
| commit | 717e34bd48f2686e324b799329910df106971753 (patch) | |
| tree | 02e33d8b993009e8ddfae3fe63497b2e65de46a3 | |
| parent | f00239cbf6e37b698562ca0f02cfcc0a367609c0 (diff) | |
[5.0.x] Pinned black == 24.10.0 in GitHub actions, pre-commit and test requirements.
| -rw-r--r-- | .github/workflows/linters.yml | 2 | ||||
| -rw-r--r-- | .pre-commit-config.yaml | 4 | ||||
| -rw-r--r-- | tests/requirements/py3.txt | 2 | ||||
| -rw-r--r-- | tox.ini | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index f590b5a7dc..a06c0ac636 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -59,4 +59,4 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: black - uses: psf/black@stable + uses: psf/black@24.10.0 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d6ea11e8e0..00d9b65a59 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: 24.1.0 + rev: 24.10.0 hooks: - id: black exclude: \.py-tpl$ @@ -9,7 +9,7 @@ repos: hooks: - id: blacken-docs additional_dependencies: - - black==24.1.0 + - black==24.10.0 files: 'docs/.*\.txt$' - repo: https://github.com/PyCQA/isort rev: 5.13.2 diff --git a/tests/requirements/py3.txt b/tests/requirements/py3.txt index aad91469ec..467a086b4b 100644 --- a/tests/requirements/py3.txt +++ b/tests/requirements/py3.txt @@ -2,7 +2,7 @@ aiosmtpd asgiref >= 3.7.0 argon2-cffi >= 19.2.0 bcrypt -black +black == 24.10.0 docutils >= 0.19 geoip2; python_version < '3.12' jinja2 >= 2.11.0 @@ -37,7 +37,7 @@ commands = [testenv:black] basepython = python3 usedevelop = false -deps = black +deps = black == 24.10.0 changedir = {toxinidir} commands = black --check --diff . |
