@@ -319,47 +319,26 @@ ignore = [
319
319
" RUF007" ,
320
320
# mutable-class-default
321
321
" RUF012" ,
322
- # Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance checks
323
- # "E721",
324
- # Parenthesize `a and b` expressions when chaining `and` and `or` together, to make the precedence clear
325
- " RUF021" ,
326
- # `__all__` is not sorted
327
- " RUF022" ,
328
- # Use a `set` literal when testing for membership
329
- " PLR6201" ,
322
+
323
+ # Additional pylint rules
324
+ # literal-membership
325
+ " PLR6201" , # 847 errors
330
326
# Method could be a function, class method, or static method
331
- " PLR6301" ,
327
+ " PLR6301" , # 11411 errors
332
328
# Too many positional arguments (6/5)
333
- " PLR0917" ,
334
- # `import` should be at the top-level of a file
335
- " PLC0415" ,
336
- # Too many public methods (23 > 20)
337
- " PLR0904" ,
338
- # Too many local variables
339
- " PLR0914" ,
340
- # Too many nested blocks (6 > 5)
341
- " PLR1702" ,
342
- # Too many Boolean expressions
343
- " PLR0916" ,
329
+ " PLR0917" , # 470 errors
344
330
# Private name import
345
- " PLC2701" ,
346
- # Redefining argument with the local name
347
- " PLR1704" ,
348
- # Unnecessary dunder call
349
- " PLC2801" ,
350
- # Lambda may be unnecessary; consider inlining inner function
351
- # Autofix might not be correct
352
- " PLW0108" ,
331
+ " PLC2701" , # 27 errors
353
332
# Object does not implement `__hash__` method
354
- " PLW1641" ,
333
+ " PLW1641" , # 16 errors
355
334
# `tempfile.NamedTemporaryFile` in text mode without explicit `encoding` argument
356
- " PLW1514" ,
335
+ " PLW1514" , # 1 error
357
336
# Bad or misspelled dunder method name
358
- " PLW3201" ,
337
+ " PLW3201" , # 69 errors, seems to be all false positive
359
338
# Unnecessary lookup of dictionary value by key
360
- " PLR1733" ,
339
+ " PLR1733" , # 5 errors, it seems like we wannt to ignore these
361
340
# Unnecessary lookup of list item by index
362
- " PLR1736" ,
341
+ " PLR1736" , # 4 errors, we're currently having inline pylint ignore
363
342
364
343
# Output of pylint-to-ruff
365
344
# "PLC0103", # invalid-name
@@ -375,7 +354,7 @@ ignore = [
375
354
# "PLC0411", # wrong-import-order
376
355
# "PLC0412", # ungrouped-imports
377
356
# "PLC0413", # wrong-import-position
378
- # "PLC0415", # import-outside-toplevel
357
+ " PLC0415" , # import-outside-toplevel
379
358
# "PLC1802", # use-implicit-booleaness-not-len
380
359
# "PLC1803", # use-implicit-booleaness-not-comparison
381
360
# "PLC1804", # use-implicit-booleaness-not-comparison-to-string
@@ -431,7 +410,7 @@ ignore = [
431
410
# "PLW0102", # dangerous-default-value
432
411
# "PLW0104", # pointless-statement
433
412
# "PLW0106", # expression-not-assigned
434
- " PLW0108" , # unnecessary-lambda
413
+ " PLW0108" , # unnecessary-lambda # # Autofix might not be correct
435
414
# "PLW0123", # eval-used
436
415
# "PLW0125", # using-constant-test
437
416
# "PLW0143", # comparison-with-callable
0 commit comments