1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-05 08:35:23 +02:00
tldr/pages.nl/common/yapf.md

13 lines
350 B
Markdown
Raw Normal View History

# yapf
> Python stijlgidschecker.
> Meer informatie: <https://github.com/google/yapf>.
2024-06-18 22:00:00 +02:00
- Toon de geformateerde diff die zal optreden uit:
`yapf {{[-d|--diff]}} {{pad/naar/bestand}}`
- Formatteer alle Python-bestanden recursief in een map in parallel:
`yapf {{[-ri|--recursive --in-place]}} --style {{pep8}} {{[-p|--parallel]}} {{pad/naar/map}}`