8
8
# pygtk.require().
9
9
# init-hook=
10
10
11
- # Profiled execution.
12
- profile =no
13
-
14
11
# Add files or directories to the blacklist. They should be base names, not
15
12
# paths.
16
13
ignore =CVS
@@ -39,11 +36,7 @@ enable=indexing-exception,old-raise-syntax
39
36
# --enable=similarities". If you want to run only the classes checker, but have
40
37
# no Warning level messages displayed, use"--disable=all --enable=classes
41
38
# --disable=W"
42
- disable =design,similarities,no-self-use,attribute-defined-outside-init,locally-disabled,star-args,pointless-except,bad-option-value,global-statement,fixme,suppressed-message,useless-suppression,locally-enabled,no-member,no-name-in-module,import-error,unsubscriptable-object,unbalanced-tuple-unpacking,undefined-variable,not-context-manager,useless-object-inheritance,consider-using-f-string,unspecified-encoding,unnecessary-lambda-assignment,use-dict-literal,consider-using-with,wrong-import-order,consider-iterating-dictionary,use-maxsplit-arg,possibly-used-before-assignment,super-with-arguments,redundant-u-string-prefix,use-list-literal,f-string-without-interpolation,condition-evals-to-constant,global-variable-not-assigned,consider-using-enumerate,unused-argument,superfluous-parens,use-sequence-for-iteration,useless-return,superfluous-parens,use-a-generator,raise-missing-from,overgeneral-exceptions,condition-evals-to-constant
43
-
44
-
45
- # Set the cache size for astng objects.
46
- cache-size =500
39
+ disable=design,similarities,no-self-use,attribute-defined-outside-init,locally-disabled,star-args,pointless-except,bad-option-value,global-statement,fixme,suppressed-message,useless-suppression,locally-enabled,no-member,no-name-in-module,import-error,unsubscriptable-object,unbalanced-tuple-unpacking,undefined-variable,not-context-manager,useless-object-inheritance,consider-using-f-string,unspecified-encoding,unnecessary-lambda-assignment,use-dict-literal,consider-using-with,wrong-import-order,consider-iterating-dictionary,use-maxsplit-arg,possibly-used-before-assignment,super-with-arguments,redundant-u-string-prefix,use-list-literal,f-string-without-interpolation,condition-evals-to-constant,global-variable-not-assigned,consider-using-enumerate,unused-argument,superfluous-parens,use-sequence-for-iteration,useless-return,superfluous-parens,use-a-generator,raise-missing-from,overgeneral-exceptions,condition-evals-to-constant,consider-using-generator,use-yield-from,consider-using-min-builtin,overgeneral-exceptions
47
40
48
41
49
42
[REPORTS]
@@ -53,11 +46,6 @@ cache-size=500
53
46
# mypackage.mymodule.MyReporterClass.
54
47
output-format =text
55
48
56
- # Put messages in a separate file for each module / package specified on the
57
- # command line instead of printing them on stdout. Reports (if any) will be
58
- # written in a file name "pylint_global.[txt|html]".
59
- files-output =no
60
-
61
49
# Tells whether to display a full report or only the messages
62
50
reports =no
63
51
@@ -68,10 +56,6 @@ reports=no
68
56
# (RP0004).
69
57
evaluation =10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
70
58
71
- # Add a comment according to your evaluation note. This is used by the global
72
- # evaluation report (RP0004).
73
- comment =no
74
-
75
59
# Template used to display messages. This is a python new-style format string
76
60
# used to format the message information. See doc for all details
77
61
# msg-template=
@@ -87,10 +71,6 @@ ignore-mixin-members=yes
87
71
# (useful for classes with attributes dynamically set).
88
72
ignored-classes =SQLObject
89
73
90
- # When zope mode is activated, add a predefined set of Zope acquired attributes
91
- # to generated-members.
92
- zope =no
93
-
94
74
# List of members which are set dynamically and missed by pylint inference
95
75
# system, and so shouldn't trigger E0201 when accessed. Python regular
96
76
# expressions are accepted.
@@ -117,17 +97,6 @@ additional-builtins=
117
97
118
98
[BASIC]
119
99
120
- # Required attributes for module, separated by a comma
121
- required-attributes =
122
-
123
- # List of builtins function names that should not be used, separated by a comma
124
- bad-functions =apply,input,reduce
125
-
126
-
127
- # Disable the report(s) with the given id(s).
128
- # All non-Google reports are disabled by default.
129
- disable-report =R0001,R0002,R0003,R0004,R0101,R0102,R0201,R0202,R0220,R0401,R0402,R0701,R0801,R0901,R0902,R0903,R0904,R0911,R0912,R0913,R0914,R0915,R0921,R0922,R0923
130
-
131
100
# Regular expression which should only match correct module names
132
101
module-rgx =(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
133
102
@@ -187,9 +156,6 @@ ignore-long-lines=^\s*(# )?<?https?://\S+>?$
187
156
# else.
188
157
single-line-if-stmt =y
189
158
190
- # List of optional constructs for which whitespace checking is disabled
191
- no-space-check =
192
-
193
159
# Maximum number of lines in a module
194
160
max-module-lines =99999
195
161
@@ -239,10 +205,6 @@ int-import-graph=
239
205
240
206
[CLASSES]
241
207
242
- # List of interface methods to ignore, separated by a comma. This is used for
243
- # instance to not check methods defines in Zope's Interface base class.
244
- ignore-iface-methods =isImplementedBy,deferred,extends,names,namesAndDescriptions,queryDescriptionFor,getBases,getDescriptionFor,getDoc,getName,getTaggedValue,getTaggedValueTags,isEqualOrExtendedBy,setTaggedValue,isImplementedByInstancesOf,adaptWith,is_implemented_by
245
-
246
208
# List of method names used to declare (i.e. assign) instance attributes.
247
209
defining-attr-methods =__init__,__new__,setUp
248
210
@@ -286,33 +248,6 @@ min-public-methods=2
286
248
# Maximum number of public methods for a class (see R0904).
287
249
max-public-methods =20
288
250
289
-
290
- [EXCEPTIONS]
291
-
292
- # Exceptions that will emit a warning when being caught. Defaults to
293
- # "Exception"
294
- overgeneral-exceptions =Exception,StandardError,BaseException
295
-
296
-
297
- [AST]
298
-
299
- # Maximum line length for lambdas
300
- short-func-length =1
301
-
302
- # List of module members that should be marked as deprecated.
303
- # All of the string functions are listed in 4.1.4 Deprecated string functions
304
- # in the Python 2.4 docs.
305
- deprecated-members =string.atof,string.atoi,string.atol,string.capitalize,string.expandtabs,string.find,string.rfind,string.index,string.rindex,string.count,string.lower,string.split,string.rsplit,string.splitfields,string.join,string.joinfields,string.lstrip,string.rstrip,string.strip,string.swapcase,string.translate,string.upper,string.ljust,string.rjust,string.center,string.zfill,string.replace,sys.exitfunc
306
-
307
-
308
- [DOCSTRING]
309
-
310
- # List of exceptions that do not need to be mentioned in the Raises section of
311
- # a docstring.
312
- ignore-exceptions =AssertionError,NotImplementedError,StopIteration,TypeError
313
-
314
-
315
-
316
251
[TOKENS]
317
252
318
253
# Number of spaces of indent required when the last token on the preceding line
0 commit comments