File: flake8.1

package info (click to toggle)
python-flake8 2.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 264 kB
  • ctags: 85
  • sloc: python: 589; makefile: 30; sh: 3
file content (93 lines) | stat: -rw-r--r-- 2,521 bytes parent folder | download
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
.TH FLAKE8 "1" "November 2013" "flake8 2.0 (pep8: 1.4.6, mccabe: 0.2, pyflakes: 0.7.3)" "User Commands"
.SH NAME
flake8 \- code checker using pep8 and pyflakes
.SH SYNOPSIS
.B flake8
[\fIoptions\fR] \fIinput \fR...
.SH OPTIONS
.TP
\fB\-\-version\fR
show program's version number and exit
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.TP
\fB\-v\fR, \fB\-\-verbose\fR
print status messages, or debug with \fB\-vv\fR
.TP
\fB\-q\fR, \fB\-\-quiet\fR
report only file names, or nothing with \fB\-qq\fR
.TP
\fB\-\-first\fR
show first occurrence of each error
.TP
\fB\-\-exclude\fR=\fIpatterns\fR
exclude files or directories which match these comma
separated patterns (default:
\&.svn,CVS,.bzr,.hg,.git,__pycache__)
.TP
\fB\-\-filename\fR=\fIpatterns\fR
when parsing directories, only check filenames
matching these comma separated patterns (default:
*.py)
.TP
\fB\-\-select\fR=\fIerrors\fR
select errors and warnings (e.g. E,W6)
.TP
\fB\-\-ignore\fR=\fIerrors\fR
skip errors and warnings (e.g. E4,W)
.TP
\fB\-\-show\-source\fR
show source code for each error
.TP
\fB\-\-show\-pep8\fR
show text of PEP 8 for each error (implies \fB\-\-first\fR)
.TP
\fB\-\-statistics\fR
count errors and warnings
.TP
\fB\-\-count\fR
print total number of errors and warnings to standard
error and set exit code to 1 if total is not null
.TP
\fB\-\-max\-line\-length\fR=\fIn\fR
set maximum allowed line length (default: 79)
.TP
\fB\-\-hang\-closing\fR
hang closing bracket instead of matching indentation
of opening bracket's line
.TP
\fB\-\-format\fR=\fIformat\fR
set the error format [default|pylint|<custom>]
.TP
\fB\-\-diff\fR
report only lines changed according to the unified
diff received on STDIN
.TP
\fB\-\-exit\-zero\fR
exit with code 0 even if there are errors
.TP
\fB\-\-max\-complexity\fR=\fIMAX_COMPLEXITY\fR
McCabe complexity threshold
.TP
\fB\-\-builtins\fR=\fIBUILTINS\fR
define more built\-ins, comma separated
.TP
\fB\-\-install\-hook\fR
Install the appropriate hook for this repository.
.IP
Testing Options:
.TP
\fB\-\-benchmark\fR
measure processing speed
.IP
Configuration:
.IP
The project options are read from the [flake8] section of the tox.ini
file or the setup.cfg file located in any parent folder of the path(s)
being processed.  Allowed options are: exclude, filename, select,
ignore, max\-line\-length, hang\-closing, count, format, quiet, showpep8, show\-source, statistics, verbose, max\-complexity, builtins.
.TP
\fB\-\-config\fR=\fIpath\fR
user config file location (default:
~/.config/flake8)