black

Install command:
brew install black

Python code formatter

https://black.readthedocs.io/en/stable/

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/black.json

Formula code: black.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 26.5.1
head ⚡️ HEAD

Revision: 2

Depends on:

python@3.14 3.14.7 Interpreted, interactive, object-oriented programming language

Depends on when building from source:

rust 1.98.1 Safe, concurrent, practical language

Binaries: black, blackd

Service:

Start now and at startup: sudo brew services start black
Run directly: $HOMEBREW_PREFIX/opt/black/bin/blackd

Analytics:

30 days90 days365 days
Installs5243,25530,461
Installs (--HEAD)0365
Installs on Request5183,22630,188
Installs on Request (--HEAD)0365
Build Errors0