black

A Python auto code formatter.
More information.
black {path/to/file_or_directory}
black -c "{code}"
black --diff {path/to/file_or_directory}
black --check {path/to/file_or_directory}
black --quiet {path/to/file_or_directory}
black --skip-string-normalization {path/to/file_or_directory}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY