Download Latest Version 26.5.1 source code.zip (1.4 MB)
Email in envelope

Get an email when there's a new version of Black

Home / 26.5.1
Name Modified Size InfoDownloads / Week
Parent folder
black_windows.exe 2026-05-18 12.3 MB
black_windows-arm.exe 2026-05-18 12.0 MB
black_linux 2026-05-18 27.3 MB
black_linux-arm 2026-05-18 26.3 MB
black_macos 2026-05-18 11.5 MB
26.5.1 source code.tar.gz 2026-05-18 1.3 MB
26.5.1 source code.zip 2026-05-18 1.4 MB
README.md 2026-05-18 523 Bytes
Totals: 8 Items   92.1 MB 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)
Source: README.md, updated 2026-05-18