Black#

Configuration#

Black can be configured in pyproject.toml (see Usage and Configuration - The basics).

Example config in pyproject.toml#
[tool.black]
line-length = 99
target-version = ["py310"]

Black for Jupyter#

For Jupyter support do: pip install black[jupyter]