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:
parent
b0ac46b221
commit
3b423e97fa
2 changed files with 3 additions and 11 deletions
|
@ -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}}`
|
||||
|
|
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue