ruff format

An extremely fast Python code formatter. If no files or directories are specified, the current working directory is used by default. More information: https://docs.astral.sh/ruff/formatter.

ruff format {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}

ruff format --check

ruff format --diff