
black
List of commands for black:
-
black:tldr:297f7 black: Auto-format a file or entire directory.$ black ${filename_or_directory}try on your machineexplain this command
-
black:tldr:496f2 black: Auto-format a file or directory, emitting exclusively error messages to `stderr`.$ black --quiet ${filename_or_directory}try on your machineexplain this command
-
black:tldr:6eef6 black: Auto-format a file or directory without replacing single quotes with double quotes (adoption helper, avoid using this for new projects).$ black --skip-string-normalization ${filename_or_directory}try on your machineexplain this command
-
black:tldr:721bf black: Output changes that would be made to a file or a directory without performing them (dry-run).$ black --diff ${filename_or_directory}try on your machineexplain this command
-
black:tldr:80afa black: Format the code passed in as a string.$ black -c "${code}"try on your machineexplain this command
-
black:tldr:8208e black: Output whether a file or a directory would have changes made to them if they were to be formatted.$ black --check ${filename_or_directory}try on your machineexplain this command