Black
blackThe uncompromising Python code formatter.
The uncompromising Python code formatter.
Format Python files or directories in place, or check and diff them. Config discovery is left to Black; color, safe/fast and notebook-magic options are left out.
filesline_lengthtarget_versionpreviewfilesline_lengthcheckdifffilesdiffpath · positional 0 · repeatablestring--code-cinteger--line-length-lstring · repeatable--target-version-tpy37py38py39py310boolean--checkboolean--diffboolean--skip-string-normalization-Sboolean--skip-magic-trailing-comma-Cboolean--previewboolean--pyiboolean--ipynbstring--includestring--excludestring--extend-excludestring--force-excludepath--configstring--stdin-filenameinteger--workers-Wboolean--quiet-qboolean--verbose-vfigcompletionBefore it fills your prompt, Otty checks the installed black against its version. A form that does not match your version is not offered.