@@ -318,47 +318,26 @@ ignore = [
318318 " RUF007" ,
319319 # mutable-class-default
320320 " 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" ,
321+
322+ # Additional pylint rules
323+ # literal-membership
324+ " PLR6201" , # 847 errors
329325 # Method could be a function, class method, or static method
330- " PLR6301" ,
326+ " PLR6301" , # 11411 errors
331327 # 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" ,
328+ " PLR0917" , # 470 errors
343329 # 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" ,
330+ " PLC2701" , # 27 errors
352331 # Object does not implement `__hash__` method
353- " PLW1641" ,
332+ " PLW1641" , # 16 errors
354333 # `tempfile.NamedTemporaryFile` in text mode without explicit `encoding` argument
355- " PLW1514" ,
334+ " PLW1514" , # 1 error
356335 # Bad or misspelled dunder method name
357- " PLW3201" ,
336+ " PLW3201" , # 69 errors, seems to be all false positive
358337 # Unnecessary lookup of dictionary value by key
359- " PLR1733" ,
338+ " PLR1733" , # 5 errors, it seems like we wannt to ignore these
360339 # Unnecessary lookup of list item by index
361- " PLR1736" ,
340+ " PLR1736" , # 4 errors, we're currently having inline pylint ignore
362341
363342 # Output of pylint-to-ruff
364343 # "PLC0103", # invalid-name
@@ -374,7 +353,7 @@ ignore = [
374353 # "PLC0411", # wrong-import-order
375354 # "PLC0412", # ungrouped-imports
376355 # "PLC0413", # wrong-import-position
377- # "PLC0415", # import-outside-toplevel
356+ " PLC0415" , # import-outside-toplevel
378357 # "PLC1802", # use-implicit-booleaness-not-len
379358 # "PLC1803", # use-implicit-booleaness-not-comparison
380359 # "PLC1804", # use-implicit-booleaness-not-comparison-to-string
@@ -430,7 +409,7 @@ ignore = [
430409 # "PLW0102", # dangerous-default-value
431410 # "PLW0104", # pointless-statement
432411 # "PLW0106", # expression-not-assigned
433- " PLW0108" , # unnecessary-lambda
412+ " PLW0108" , # unnecessary-lambda # # Autofix might not be correct
434413 # "PLW0123", # eval-used
435414 # "PLW0125", # using-constant-test
436415 # "PLW0143", # comparison-with-callable
0 commit comments