@@ -260,18 +260,8 @@ ignore = [
260
260
" B023" ,
261
261
# Only works with python >=3.10
262
262
" B905" ,
263
- # Too many arguments to function call
264
- " PLR0913" ,
265
- # Too many returns
266
- " PLR0911" ,
267
- # Too many branches
268
- " PLR0912" ,
269
- # Too many statements
270
- " PLR0915" ,
271
263
# Redefined loop name
272
264
" PLW2901" ,
273
- # Global statements are discouraged
274
- " PLW0603" ,
275
265
# Use `typing.NamedTuple` instead of `collections.namedtuple`
276
266
" PYI024" ,
277
267
# No builtin `eval()` allowed
@@ -318,47 +308,26 @@ ignore = [
318
308
" RUF007" ,
319
309
# mutable-class-default
320
310
" RUF012" ,
321
- # Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance checks
322
- # "E721",
323
- # Parenthesize `a and b` expressions when chaining `and` and `or` together, to make the precedence clear
324
- " RUF021" ,
325
- # `__all__` is not sorted
326
- " RUF022" ,
327
- # Use a `set` literal when testing for membership
328
- " PLR6201" ,
311
+
312
+ # Additional pylint rules
313
+ # literal-membership
314
+ " PLR6201" , # 847 errors
329
315
# Method could be a function, class method, or static method
330
- " PLR6301" ,
316
+ " PLR6301" , # 11411 errors
331
317
# Too many positional arguments (6/5)
332
- " PLR0917" ,
333
- # `import` should be at the top-level of a file
334
- " PLC0415" ,
335
- # Too many public methods (23 > 20)
336
- " PLR0904" ,
337
- # Too many local variables
338
- " PLR0914" ,
339
- # Too many nested blocks (6 > 5)
340
- " PLR1702" ,
341
- # Too many Boolean expressions
342
- " PLR0916" ,
318
+ " PLR0917" , # 470 errors
343
319
# Private name import
344
- " PLC2701" ,
345
- # Redefining argument with the local name
346
- " PLR1704" ,
347
- # Unnecessary dunder call
348
- " PLC2801" ,
349
- # Lambda may be unnecessary; consider inlining inner function
350
- # Autofix might not be correct
351
- " PLW0108" ,
320
+ " PLC2701" , # 27 errors
352
321
# Object does not implement `__hash__` method
353
- " PLW1641" ,
322
+ " PLW1641" , # 16 errors
354
323
# `tempfile.NamedTemporaryFile` in text mode without explicit `encoding` argument
355
- " PLW1514" ,
324
+ " PLW1514" , # 1 error
356
325
# Bad or misspelled dunder method name
357
- " PLW3201" ,
326
+ " PLW3201" , # 69 errors, seems to be all false positive
358
327
# Unnecessary lookup of dictionary value by key
359
- " PLR1733" ,
328
+ " PLR1733" , # 5 errors, it seems like we wannt to ignore these
360
329
# Unnecessary lookup of list item by index
361
- " PLR1736" ,
330
+ " PLR1736" , # 4 errors, we're currently having inline pylint ignore
362
331
363
332
# Output of pylint-to-ruff
364
333
# "PLC0103", # invalid-name
@@ -374,7 +343,7 @@ ignore = [
374
343
# "PLC0411", # wrong-import-order
375
344
# "PLC0412", # ungrouped-imports
376
345
# "PLC0413", # wrong-import-position
377
- # "PLC0415", # import-outside-toplevel
346
+ " PLC0415" , # import-outside-toplevel
378
347
# "PLC1802", # use-implicit-booleaness-not-len
379
348
# "PLC1803", # use-implicit-booleaness-not-comparison
380
349
# "PLC1804", # use-implicit-booleaness-not-comparison-to-string
@@ -430,7 +399,7 @@ ignore = [
430
399
# "PLW0102", # dangerous-default-value
431
400
# "PLW0104", # pointless-statement
432
401
# "PLW0106", # expression-not-assigned
433
- " PLW0108" , # unnecessary-lambda
402
+ " PLW0108" , # unnecessary-lambda # # Autofix might not be correct
434
403
# "PLW0123", # eval-used
435
404
# "PLW0125", # using-constant-test
436
405
# "PLW0143", # comparison-with-callable
0 commit comments