commands.sh

yapf

all

Python style guide checker.

More info →

Options (3)

-d, --diffboolean

Display a diff of the changes that would be made, without making them (dry-run)

Example: yapf {{[-d|--diff]}} {{path/to/file}}
boolean

Recursively format all Python files in a directory, concurrently

Example: yapf {{[-ri|--recursive --in-place]}} --style {{pep8}} {{[-p|--parallel]}} {{path/to/directory}}
-p, --parallelboolean

Recursively format all Python files in a directory, concurrently

Example: yapf {{[-ri|--recursive --in-place]}} --style {{pep8}} {{[-p|--parallel]}} {{path/to/directory}}

Examples (2)

Display a diff of the changes that would be made, without making them (dry-run)

yapf [-d|--diff] path/to/file

Recursively format all Python files in a directory, concurrently

yapf [-ri|--recursive --in-place] --style pep8 [-p|--parallel] path/to/directory
made by @shridhargupta | data from tldr-pages