File: yapf3.1

package info (click to toggle)
yapf 0.40.2-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,460 kB
  • sloc: python: 18,916; sh: 33; makefile: 7
file content (54 lines) | stat: -rw-r--r-- 1,630 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
.TH YAPF3 "1" "September 2016" "Usage: yapf3 [-h [-v] [-d | -i] [-r | -l START-END] [-e PATTERN]" "General Commands Manual"
.SH NAME
yapf3 \- Python code formatter
.SH SYNOPSIS
.B yapf3
[\fI\,-h\/\fR] [\fI\,-v\/\fR] [\fI\,-d | -i\/\fR] [\fI\,-r | -l START-END\/\fR] [\fI\,-e PATTERN\/\fR]
[\-\-style STYLE] [\-\-style\-help] [\-\-no\-local\-style]
[files [files ...]]
.SH DESCRIPTION
yapf3 is a Python code formatter for Python 3.
.SH OPTIONS
.PP
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.TP
\fB\-v\fR, \fB\-\-version\fR
show version number and exit
.TP
\fB\-d\fR, \fB\-\-diff\fR
print the diff for the fixed source
.TP
\fB\-i\fR, \fB\-\-in\-place\fR
make changes to files in place
.TP
\fB\-r\fR, \fB\-\-recursive\fR
run recursively over directories
.TP
\fB\-l\fR START\-END, \fB\-\-lines\fR START\-END
range of lines to reformat, one\-based
.TP
\fB\-e\fR PATTERN, \fB\-\-exclude\fR PATTERN
patterns for files to exclude from formatting
.TP
\fB\-\-style\fR STYLE
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.yapf3 or setup.cfg file located in one of the
parent directories of the source file (or current
directory for stdin)
.TP
\fB\-\-style\-help\fR
show style settings and exit
.TP
\fB\-\-no\-local\-style\fR
don't search for local style definition (.style.yapf3)
.IP
[\-\-style STYLE] [\-\-style\-help] [\-\-no\-local\-style]
[files [files ...]]
.SH "SEE ALSO"
Usage examples along with detailed information on configuring formatting style can be
found at https://github.com/google/yapf/.