Skip to content

Bump https://github.com/psf/black from 24.10.0 to 26.5.1#3125

Merged
hunhoffe merged 1 commit into
mainfrom
dependabot/pre_commit/https-/github.com/psf/black-26.5.1
May 30, 2026
Merged

Bump https://github.com/psf/black from 24.10.0 to 26.5.1#3125
hunhoffe merged 1 commit into
mainfrom
dependabot/pre_commit/https-/github.com/psf/black-26.5.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 30, 2026

Bumps https://github.com/psf/black from 24.10.0 to 26.5.1. This release includes the previously tagged commit.

Release notes

Sourced from https://github.com/psf/black's releases.

26.5.1

Stable style

  • Fix unstable formatting of annotated assignments whose subscript annotation contains an inline comment (e.g. x: list[ # pyright: ignore[...]) (#5130)
  • Preserve inline comments (including # type: ignore) immediately before a # fmt: skip line, avoiding AST equivalence failures (#5139)

Packaging

  • Correct the version in the published executables (#5137)

Documentation

  • Add Neovim integration guide covering conform.nvim, ALE, and simple command approaches (#5124)
Changelog

Sourced from https://github.com/psf/black's changelog.

Change Log

Unreleased

  • Add support for NO_COLOR environment variable to disable ANSI output (#5129)

Highlights

Stable style

  • Fix crash when a standalone comment sits between tokens of a comprehension or lambda (#5144)
  • Fix a crash when splitting case case if ... match patterns at very small line lengths (#5147)
  • Fix multiline docstring indentation when leading tabs are used inside indented docstrings (#5148)

Preview style

  • Stop splitting between a variable and its comparator (not in, ==, is, ...) when the right-hand side is a bracketed expression. Black now lets the bracket explode instead. This fixes the awkward break that was showing up in comprehension if clauses (#4514) as well as the same shape inside if, elif, assert, and parenthesized expressions (#5135)

Configuration

Packaging

Parser

Performance

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [https://github.com/psf/black](https://github.com/psf/black) from 24.10.0 to 26.5.1. This release includes the previously tagged commit.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@1b2427a...87928e6)

---
updated-dependencies:
- dependency-name: https://github.com/psf/black
  dependency-version: 26.5.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file pre_commit Pull requests that update pre_commit code labels May 30, 2026
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 30, 2026
@dependabot dependabot Bot requested a review from jgmelber as a code owner May 30, 2026 02:50
@dependabot dependabot Bot added the pre_commit Pull requests that update pre_commit code label May 30, 2026
@hunhoffe hunhoffe self-requested a review May 30, 2026 18:00
@hunhoffe hunhoffe added this pull request to the merge queue May 30, 2026
Merged via the queue into main with commit 9dd5f63 May 30, 2026
63 checks passed
@hunhoffe hunhoffe deleted the dependabot/pre_commit/https-/github.com/psf/black-26.5.1 branch May 30, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file pre_commit Pull requests that update pre_commit code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant