1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-05 16:15:34 +02:00
tldr/pages/common/yapf.md
Dylan 3b423e97fa
yapf: update page and update Dutch translation (#16709)
yapf: update page and add Dutch translation
2025-06-01 16:48:38 +02:00

12 lines
386 B
Markdown

# yapf
> Python style guide checker.
> More information: <https://github.com/google/yapf>.
- 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}}`