5
5
# Its canonical open-source location is:
6
6
# https://google.github.io/styleguide/pylintrc
7
7
8
- [MASTER ]
8
+ [MAIN ]
9
9
10
10
# Files or directories to be skipped. They should be base names, not paths.
11
11
ignore =third_party,ray_patches,providers
@@ -50,7 +50,8 @@ confidence=
50
50
# --enable=similarities". If you want to run only the classes checker, but have
51
51
# no Warning level messages displayed, use"--disable=all --enable=classes
52
52
# --disable=W"
53
- disable =abstract-method,
53
+ disable =R,
54
+ abstract-method,
54
55
apply-builtin,
55
56
arguments-differ,
56
57
attribute-defined-outside-init,
@@ -60,6 +61,7 @@ disable=abstract-method,
60
61
buffer-builtin,
61
62
c-extension-no-member,
62
63
consider-using-enumerate,
64
+ consider-using-f-string, # FIXME(sky): make pass
63
65
cmp-builtin,
64
66
cmp-method,
65
67
coerce-builtin,
@@ -76,7 +78,7 @@ disable=abstract-method,
76
78
global-statement,
77
79
hex-method,
78
80
idiv-method,
79
- implicit-str-concat-in-sequence ,
81
+ implicit-str-concat,
80
82
import-error,
81
83
import-self,
82
84
import-star-module-level,
@@ -139,6 +141,7 @@ disable=abstract-method,
139
141
trailing-newlines,
140
142
unichr-builtin,
141
143
unicode-builtin,
144
+ unnecessary-lambda-assignment, # FIXME(sky): make pass.
142
145
unnecessary-pass,
143
146
unpacking-in-except,
144
147
useless-else-on-loop,
@@ -157,12 +160,6 @@ disable=abstract-method,
157
160
# mypackage.mymodule.MyReporterClass.
158
161
output-format =text
159
162
160
- # Put messages in a separate file for each module / package specified on the
161
- # command line instead of printing them on stdout. Reports (if any) will be
162
- # written in a file name "pylint_global.[txt|html]". This option is deprecated
163
- # and it will be removed in Pylint 2.0.
164
- files-output =no
165
-
166
163
# Tells whether to display a full report or only the messages
167
164
reports =no
168
165
@@ -269,7 +266,7 @@ generated-members=
269
266
# Maximum number of characters on a single line.
270
267
max-line-length =80
271
268
272
- # TODO(https://github.com/PyCQA /pylint/issues/3352): Direct pylint to exempt
269
+ # TODO(https://github.com/pylint-dev /pylint/issues/3352): Direct pylint to exempt
273
270
# lines made too long by directives to pytype.
274
271
275
272
# Regexp for a line that is allowed to be longer than the limit.
@@ -281,12 +278,6 @@ ignore-long-lines=(?x)(
281
278
# else.
282
279
single-line-if-stmt =yes
283
280
284
- # List of optional constructs for which whitespace checking is disabled. `dict-
285
- # separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
286
- # `trailing-comma` allows a space between comma and closing bracket: (a, ).
287
- # `empty-line` allows space-only lines.
288
- no-space-check =
289
-
290
281
# Maximum number of lines in a module
291
282
max-module-lines =99999
292
283
0 commit comments