Black

Discover Black, the Python code formatter. Learn how to integrate it with Trunk Check for seamless coding style enforcement.

Black is a formatter for Python.

You can enable the Black formatter with:

trunk check enable black
black example output

Auto Enabling

Black will be auto-enabled if any Python, Jupyter or Python-interface files are present.

Last updated