# Black 26.5.1 - Product: Black (https://whatsnew.fyi/product/black) - Vendor: Python Software Foundation - Date: 2026-05-18 - Version: 26.5.1 - Original notes: https://github.com/psf/black/releases/tag/26.5.1 - Permalink: https://whatsnew.fyi/product/black/releases/26.5.1 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **fixed** — Fix unstable formatting of annotated assignments whose subscript annotation contains an inline comment - **fixed** — Preserve inline comments (including # type: ignore) immediately before a # fmt: skip line, avoiding AST equivalence failures - **fixed** — Correct the version in the published executables - **added** — Add Neovim integration guide covering conform.nvim, ALE, and simple command approaches ###### 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)