Skip to content

black

Black - Source formatting

Usage

# To format files in current directory
$ black .

# Alternate way to run black as a package, if running as script doesn't work
$ python3 -m black .

## Preferred way would be to create a git hook and have this check run automatically on each commit.

Last update: November 4, 2023