Skip to content

chore(deps): bump https://github.com/ambv/black from 26.3.1 to 26.5.1#1186

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pre_commit/main/https-/github.com/ambv/black-26.5.1
Closed

chore(deps): bump https://github.com/ambv/black from 26.3.1 to 26.5.1#1186
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pre_commit/main/https-/github.com/ambv/black-26.5.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

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

Release notes

Sourced from https://github.com/ambv/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/ambv/black's changelog.

Change Log

Unreleased

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

Highlights

Stable style

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

Output

Blackd

... (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/ambv/black](https://github.com/ambv/black) from 26.3.1 to 26.5.1. This release includes the previously tagged commit.
- [Release notes](https://github.com/ambv/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@c6755bb...87928e6)

---
updated-dependencies:
- dependency-name: https://github.com/ambv/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 20, 2026
@dependabot dependabot Bot requested review from behnazh and jenstroeger as code owners May 20, 2026 13:55
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file pre_commit Pull requests that update pre_commit code labels May 20, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 22, 2026

Superseded by #1190.

@dependabot dependabot Bot closed this May 22, 2026
@dependabot dependabot Bot deleted the dependabot/pre_commit/main/https-/github.com/ambv/black-26.5.1 branch May 22, 2026 07:52
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.

0 participants