Skip to content

Bump black from 24.8.0 to 26.5.1#3

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/main/black-26.5.1
Jun 8, 2026
Merged

Bump black from 24.8.0 to 26.5.1#3
github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/main/black-26.5.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown
Contributor

Bumps black from 24.8.0 to 26.5.1.

Release notes

Sourced from 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)

26.5.0

Highlights

  • Add support for unpacking in comprehensions (PEP 798) and for lazy imports (PEP 810), both new syntactic features in Python 3.15 (#5048)
  • Python 3.15 is now supported. Compiled wheels are not yet provided for Python 3.15, so performance may be slower than on existing Python versions. Wheels will be provided once Python 3.15 is later in its release cycle. (#5127)

Stable style

  • Fix # fmt: skip being ignored in nested if expressions with parenthesized in clauses (#4903)
  • Add syntactic support for Python 3.15 (#5048)
  • Fix crash when an f-string follows a # fmt: off comment inside brackets (#5097)
  • Preserve multiline compound statement headers when # fmt: skip is placed on the colon line (#5117)

Preview style

  • Improve heuristics around whether blank lines should appear before, within and after groups of same-name decorated functions (such as @overload groups) in .pyi stub files (#5021)
  • Fix blank lines being removed between a function and a decorated class in .pyi stub files (#5092)
  • Prevent string merger from creating unsplittable long lines when a pragma comment (e.g. # type: ignore) follows the closing bracket (#5096)

Packaging

Output

... (truncated)

Changelog

Sourced from black's changelog.

Version 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)

Version 26.5.0

Highlights

  • Add support for unpacking in comprehensions (PEP 798) and for lazy imports (PEP 810), both new syntactic features in Python 3.15 (#5048)
  • Python 3.15 is now supported. Compiled wheels are not yet provided for Python 3.15, so performance may be slower than on existing Python versions. Wheels will be provided once Python 3.15 is later in its release cycle. (#5127)

Stable style

  • Fix # fmt: skip being ignored in nested if expressions with parenthesized in clauses (#4903)
  • Add syntactic support for Python 3.15 (#5048)
  • Fix crash when an f-string follows a # fmt: off comment inside brackets (#5097)
  • Preserve multiline compound statement headers when # fmt: skip is placed on the colon line (#5117)

Preview style

  • Improve heuristics around whether blank lines should appear before, within and after groups of same-name decorated functions (such as @overload groups) in .pyi stub files (#5021)
  • Fix blank lines being removed between a function and a decorated class in .pyi stub files (#5092)
  • Prevent string merger from creating unsplittable long lines when a pragma comment (e.g. # type: ignore) follows the closing bracket (#5096)

Packaging

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jun 8, 2026
@dependabot dependabot Bot force-pushed the dependabot/pip/main/black-26.5.1 branch 2 times, most recently from bc782ce to 6250e98 Compare June 8, 2026 05:25
@WillSams WillSams closed this Jun 8, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@WillSams WillSams reopened this Jun 8, 2026
@WillSams WillSams force-pushed the dependabot/pip/main/black-26.5.1 branch 2 times, most recently from 88da4ed to e940d3a Compare June 8, 2026 05:39
@WillSams WillSams closed this Jun 8, 2026
@WillSams WillSams reopened this Jun 8, 2026
@WillSams

WillSams commented Jun 8, 2026

Copy link
Copy Markdown
Owner

@dependabot recreate

Bumps [black](https://github.com/psf/black) from 24.8.0 to 26.5.1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@24.8.0...26.5.1)

---
updated-dependencies:
- dependency-name: black
  dependency-version: 26.5.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/main/black-26.5.1 branch from e940d3a to 136ab62 Compare June 8, 2026 06:30
@github-actions github-actions Bot enabled auto-merge (squash) June 8, 2026 06:30
@WillSams WillSams closed this Jun 8, 2026
auto-merge was automatically disabled June 8, 2026 06:33

Pull request was closed

@WillSams WillSams reopened this Jun 8, 2026
@github-actions github-actions Bot enabled auto-merge (squash) June 8, 2026 06:34
@WillSams WillSams closed this Jun 8, 2026
auto-merge was automatically disabled June 8, 2026 06:35

Pull request was closed

@WillSams WillSams reopened this Jun 8, 2026
@github-actions github-actions Bot enabled auto-merge (squash) June 8, 2026 06:35
@WillSams WillSams self-requested a review June 8, 2026 06:37
@github-actions github-actions Bot merged commit 3c45931 into main Jun 8, 2026
9 checks passed
@dependabot dependabot Bot deleted the dependabot/pip/main/black-26.5.1 branch June 8, 2026 06:37
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 python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant