CmdID

CmdID / Commands

ruff-format

An extremely fast Python code formatter. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

An extremely fast Python code formatter. If no files or directories are specified, the current working directory is used by default.

Format given files or directories in-place

ruff format path/to/file_or_directory1 path/to/file_or_directory2 ...Identify

Print which files would have been modified and return a non-zero exit code if there are files to reformat, and zero otherwise

ruff format --checkIdentify

Print what changes would be made without modifying the files

ruff format --diffIdentify