@@ -35,26 +35,12 @@ load-plugins=
35
35
36
36
[MESSAGES CONTROL]
37
37
38
- # Enable only checker(s) with the given id(s). This option conflict with the
39
- # disable-checker option
40
- # enable-checker=
41
-
42
- # Enable all checker(s) except those with the given id(s). This option conflict
43
- # with the disable-checker option
44
- # disable-checker=
45
-
46
- # Enable all messages in the listed categories.
47
- # enable-msg-cat=
48
-
49
- # Disable all messages in the listed categories.
50
- # disable-msg-cat=
51
-
52
38
# Enable the message(s) with the given id(s).
53
- # enable-msg =
39
+ # enable=
54
40
55
41
# Disable the message(s) with the given id(s).
56
- # disable-msg =
57
- disable-msg =W0122,W0142,W0201,W0212,W0223,W0403,W0603,W0613,W0614,W0621,W0622,W0703
42
+ # disable=
43
+ disable =exec-statement,star-args,attribute-defined-outside-init,protected-access,abstract-method,relative-import,global-statement,unused-argument,unused-wildcard-import,redefined-outer-name,redefined-builtin,broad-except
58
44
59
45
60
46
[REPORTS]
@@ -85,12 +71,6 @@ evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / stateme
85
71
# evaluation report (R0004).
86
72
comment =no
87
73
88
- # Enable the report(s) with the given id(s).
89
- # enable-report=
90
-
91
- # Disable the report(s) with the given id(s).
92
- # disable-report=
93
-
94
74
95
75
# checks for :
96
76
# * doc strings
@@ -107,10 +87,14 @@ comment=no
107
87
# Required attributes for module, separated by a comma
108
88
required-attributes =
109
89
110
- # Regular expression which should only match functions or classes name which do
111
- # not require a docstring
90
+ # Regular expression which should only match function or class names that do
91
+ # not require a docstring.
112
92
no-docstring-rgx =__.*__
113
93
94
+ # Minimum line length for functions/classes that require docstrings, shorter
95
+ # ones are exempt.
96
+ docstring-min-length =-1
97
+
114
98
# Regular expression which should only match correct module names
115
99
module-rgx =(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
116
100
@@ -187,7 +171,7 @@ acquired-members=REQUEST,acl_users,aq_parent
187
171
init-import =no
188
172
189
173
# A regular expression matching names used for dummy variables (i.e. not used).
190
- dummy-variables-rgx =_|dummy
174
+ dummy-variables-rgx =_$ |dummy
191
175
192
176
# List of additional names supposed to be defined in builtins. Remember that
193
177
# you should avoid to define new builtins when possible.
@@ -230,8 +214,8 @@ max-locals=30
230
214
max-returns =6
231
215
232
216
# Maximum number of branch for function / method body
233
- # max-branchs =12
234
- max-branchs =30
217
+ # max-branches =12
218
+ max-branches =30
235
219
236
220
# Maximum number of statements in function / method body
237
221
# max-statements=50
@@ -290,6 +274,9 @@ int-import-graph=
290
274
# max-line-length=80
291
275
max-line-length =100
292
276
277
+ # Regexp for a line that is allowed to be longer than the limit.
278
+ ignore-long-lines =^\s*(# )?<?https?://\S+>?$
279
+
293
280
# Maximum number of lines in a module
294
281
# max-module-lines=1000
295
282
max-module-lines =1500
0 commit comments