Skip to content

build(deps): bump psf/black from 26.3.1 to 26.5.1#61

Merged
jaredhendrickson13 merged 2 commits into
masterfrom
dependabot/github_actions/psf/black-26.5.1
Jun 1, 2026
Merged

build(deps): bump psf/black from 26.3.1 to 26.5.1#61
jaredhendrickson13 merged 2 commits into
masterfrom
dependabot/github_actions/psf/black-26.5.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps psf/black from 26.3.1 to 26.5.1.

Release notes

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

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

  • Fix find_project_root returning a stale cached result when --code is used from different working directories in the same process. The CWD fallback (used when no srcs are given) is now resolved before the lru_cache key is computed, so each directory gets the correct pyproject.toml (#5152)

Packaging

Parser

... (truncated)

Commits

Dependabot compatibility score

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 [psf/black](https://github.com/psf/black) from 26.3.1 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@c6755bb...87928e6)

---
updated-dependencies:
- dependency-name: psf/black
  dependency-version: 26.5.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jun 1, 2026
@jaredhendrickson13 jaredhendrickson13 enabled auto-merge (squash) June 1, 2026 18:07
@jaredhendrickson13 jaredhendrickson13 merged commit e4485d8 into master Jun 1, 2026
9 checks passed
@dependabot dependabot Bot deleted the dependabot/github_actions/psf/black-26.5.1 branch June 1, 2026 18:12
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 github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant