1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 03:35:24 +02:00

yapf: update page and update Dutch translation (#16709)

yapf: update page and add Dutch translation
This commit is contained in:
Dylan 2025-06-01 14:48:38 +00:00 committed by GitHub
parent b0ac46b221
commit 3b423e97fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 11 deletions

View file

@ -5,12 +5,8 @@
- Toon de geformateerde diff die zal optreden uit:
`yapf --diff {{pad/naar/bestand}}`
- Toon de geformateerde diff uit en breng de wijzigingen aan in het bestand:
`yapf --diff --in-place {{pad/naar/bestand}}`
`yapf {{[-d|--diff]}} {{pad/naar/bestand}}`
- Formatteer alle Python-bestanden recursief in een map in parallel:
`yapf --recursive --in-place --style {{pep8}} --parallel {{pad/naar/map}}`
`yapf {{[-ri|--recursive --in-place]}} --style {{pep8}} {{[-p|--parallel]}} {{pad/naar/map}}`

View file

@ -7,10 +7,6 @@
`yapf {{[-d|--diff]}} {{path/to/file}}`
- Format the file in-place and display a diff of the changes:
`yapf {{[-d|--diff]}} {{[-i|--in-place]}} {{path/to/file}}`
- Recursively format all Python files in a directory, concurrently:
`yapf {{[-r|--recursive]}} {{[-i|--in-place]}} --style {{pep8}} {{[-p|--parallel]}} {{path/to/directory}}`
`yapf {{[-ri|--recursive --in-place]}} --style {{pep8}} {{[-p|--parallel]}} {{path/to/directory}}`