7
7
# pygtk.require().
8
8
# init-hook=
9
9
10
- # Profiled execution.
11
- profile =no
12
-
13
10
# Add files or directories to the blacklist. They should be base names, not
14
11
# paths.
15
12
ignore =CVS
@@ -41,22 +38,13 @@ enable=indexing-exception,old-raise-syntax
41
38
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,no-else-return,wrong-import-order,unnecessary-pass,logging-fstring-interpolation,logging-format-interpolation,C0330
42
39
43
40
44
- # Set the cache size for astng objects.
45
- cache-size =500
46
-
47
-
48
41
[REPORTS]
49
42
50
43
# Set the output format. Available formats are text, parseable, colorized, msvs
51
44
# (visual studio) and html. You can also give a reporter class, eg
52
45
# mypackage.mymodule.MyReporterClass.
53
46
output-format =text
54
47
55
- # Put messages in a separate file for each module / package specified on the
56
- # command line instead of printing them on stdout. Reports (if any) will be
57
- # written in a file name "pylint_global.[txt|html]".
58
- files-output =no
59
-
60
48
# Tells whether to display a full report or only the messages
61
49
reports =no
62
50
@@ -67,10 +55,6 @@ reports=no
67
55
# (RP0004).
68
56
evaluation =10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
69
57
70
- # Add a comment according to your evaluation note. This is used by the global
71
- # evaluation report (RP0004).
72
- comment =no
73
-
74
58
# Template used to display messages. This is a python new-style format string
75
59
# used to format the message information. See doc for all details
76
60
# msg-template=
@@ -86,10 +70,6 @@ ignore-mixin-members=yes
86
70
# (useful for classes with attributes dynamically set).
87
71
ignored-classes =SQLObject
88
72
89
- # When zope mode is activated, add a predefined set of Zope acquired attributes
90
- # to generated-members.
91
- zope =no
92
-
93
73
# List of members which are set dynamically and missed by pylint inference
94
74
# system, and so shouldn't trigger E0201 when accessed. Python regular
95
75
# expressions are accepted.
@@ -116,17 +96,6 @@ additional-builtins=
116
96
117
97
[BASIC]
118
98
119
- # Required attributes for module, separated by a comma
120
- required-attributes =
121
-
122
- # List of builtins function names that should not be used, separated by a comma
123
- bad-functions =apply,input,reduce
124
-
125
-
126
- # Disable the report(s) with the given id(s).
127
- # All non-Google reports are disabled by default.
128
- 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
129
-
130
99
# Regular expression which should only match correct module names
131
100
module-rgx =(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
132
101
@@ -196,9 +165,6 @@ ignore-long-lines=(?x)
196
165
# else.
197
166
single-line-if-stmt =y
198
167
199
- # List of optional constructs for which whitespace checking is disabled
200
- no-space-check =
201
-
202
168
# Maximum number of lines in a module
203
169
max-module-lines =99999
204
170
@@ -250,10 +216,6 @@ extension-pkg-whitelist=_jsonnet
250
216
251
217
[CLASSES]
252
218
253
- # List of interface methods to ignore, separated by a comma. This is used for
254
- # instance to not check methods defines in Zope's Interface base class.
255
- ignore-iface-methods =isImplementedBy,deferred,extends,names,namesAndDescriptions,queryDescriptionFor,getBases,getDescriptionFor,getDoc,getName,getTaggedValue,getTaggedValueTags,isEqualOrExtendedBy,setTaggedValue,isImplementedByInstancesOf,adaptWith,is_implemented_by
256
-
257
219
# List of method names used to declare (i.e. assign) instance attributes.
258
220
defining-attr-methods =__init__,__new__,setUp
259
221
@@ -298,31 +260,6 @@ min-public-methods=2
298
260
max-public-methods =20
299
261
300
262
301
- [EXCEPTIONS]
302
-
303
- # Exceptions that will emit a warning when being caught. Defaults to
304
- # "Exception"
305
- overgeneral-exceptions =Exception,StandardError,BaseException
306
-
307
-
308
- [AST]
309
-
310
- # Maximum line length for lambdas
311
- short-func-length =1
312
-
313
- # List of module members that should be marked as deprecated.
314
- # All of the string functions are listed in 4.1.4 Deprecated string functions
315
- # in the Python 2.4 docs.
316
- 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
317
-
318
-
319
- [DOCSTRING]
320
-
321
- # List of exceptions that do not need to be mentioned in the Raises section of
322
- # a docstring.
323
- ignore-exceptions =AssertionError,NotImplementedError,StopIteration,TypeError
324
-
325
-
326
263
327
264
[TOKENS]
328
265
0 commit comments