Title: Theory / Unimportant / CS / Programming / Python / PEP / 8 Style guide/ / yapf

Instruction: yapf files
Page: https://github.com/google/yapf
Effect: Rewrite files, following PEP8, while looking like thing a programmer may write

Fla: --help
Effect: show this help message and exit
Prefix: yapf
Flag abbreviation: -h

Fla: --version
Effect: show version number and exit
Prefix: yapf
Flag abbreviation: -v

Fla: --diff
Effect: print the diff for the fixed source
Prefix: yapf
Flag abbreviation: -d

Fla: --in-place
Effect: make changes to files in place
Prefix: yapf
Flag abbreviation: -i

Fla: --recursive
Effect: run recursively over directories
Prefix: yapf
Flag abbreviation: -r

Fla: --lines START-END
Effect: range of lines to reformat, one-based
Prefix: yapf
Flag abbreviation: -l START-END

Fla: --exclude PATTERN
Effect: patterns for files to exclude from formatting
Prefix: yapf
Flag abbreviation: -e PATTERN

Fla: --style STYLE
Effect: specify formatting style: either a style name (for example "pep8" or "google"), or the name of a file with style settings. The default is pep8 unless a .style.yapf or setup.cfg or pyproject.toml file located in the same directory as the source or one of its parent directories (for stdin, the current directory is used).
Prefix: yapf

Fla: --style-help
Effect: show style settings and exit; this output can be saved to .style.yapf to make your settings permanent
Prefix: yapf

Fla: --no-local-style
Effect: don't search for local style definition
Prefix: yapf

Fla: --parallel
Effect: Run yapf in parallel when formatting multiple files. Requires concurrent.futures in Python 2.X
Prefix: yapf
Flag abbreviation: -p

Fla: --verbose
Effect: Print out file names while processing
Prefix: yapf
Flag abbreviation: -vv

Instruction: # yapf: disable
Page: https://github.com/google/yapf
Effect: don't apply yapf to lines below

Instruction: expr # yapf: disable
Page: https://github.com/google/yapf
Effect: don't apply yapf to this line

Instruction: # yapf: enable
Page: https://github.com/google/yapf
Effect: apply yapf to lines below