py39-black (python/py-black) Updated: 3 weeks, 2 days ago Add to my watchlist

The uncompromising code formatter for Python.

By using Black, you agree to cede control over minutiae of hand-formatting your Python source code. In return, Black gives you speed, determinism, and freedom from pycodestyle nagging about formatting. You will save time and mental energy for more important matters. Black makes code review faster by producing the smallest diffs possible. Blackened code looks the same regardless of the project you’re reading. Formatting becomes transparent after a while and you can focus on the content instead.

Version: 24.4.2 License: MIT GitHub
Maintainers danchr
Categories python
Platforms {darwin any}
Variants -

Subport(s) (7)

"py39-black" depends on

lib (8)
run (1)
build (6)
test (1)

Ports that depend on "py39-black"

Port notes

To make the Python 3.9 version of black the one that is run when you execute the commands without a version suffix, e.g. 'black', run:

port select --set black black39

Port Health:

Loading Port Health

Installations (30 days)


Requested Installations (30 days)