Black

A widely used Python code formatter that rewrites files into a single fixed style with almost no options.

In more detail

Running black . reformats every Python file under the current folder and reports which ones changed. Its output is stable, so formatting the same code twice changes nothing.

Related terms

Taught in

References