@@ -275,7 +275,6 @@ ignore = [
275
275
# Use `typing.NamedTuple` instead of `collections.namedtuple`
276
276
" PYI024" ,
277
277
# No builtin `eval()` allowed
278
- " PGH001" ,
279
278
# "S307", # flake8-bandit is not enabled yet
280
279
# compare-to-empty-string
281
280
" PLC1901" ,
@@ -321,7 +320,6 @@ ignore = [
321
320
" RUF012" ,
322
321
# Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance checks
323
322
# "E721",
324
- # "F841",
325
323
# Parenthesize `a and b` expressions when chaining `and` and `or` together, to make the precedence clear
326
324
" RUF021" ,
327
325
# `__all__` is not sorted
@@ -360,7 +358,105 @@ ignore = [
360
358
# Unnecessary lookup of dictionary value by key
361
359
" PLR1733" ,
362
360
# Unnecessary lookup of list item by index
363
- " PLR1736"
361
+ " PLR1736" ,
362
+
363
+ # Output of pylint-to-ruff
364
+ # "PLC0103", # invalid-name
365
+ # "PLC0114", # missing-module-docstring
366
+ # "PLC0115", # missing-class-docstring
367
+ # "PLC0116", # missing-function-docstring
368
+ # "PLC0121", # singleton-comparison
369
+ # "PLC0123", # unidiomatic-typecheck
370
+ # "PLC0200", # consider-using-enumerate
371
+ # "PLC0204", # bad-mcs-classmethod-argument
372
+ # "PLC0302", # too-many-lines
373
+ # "PLC0325", # superfluous-parens
374
+ # "PLC0411", # wrong-import-order
375
+ # "PLC0412", # ungrouped-imports
376
+ # "PLC0413", # wrong-import-position
377
+ # "PLC0415", # import-outside-toplevel
378
+ # "PLC1802", # use-implicit-booleaness-not-len
379
+ # "PLC1803", # use-implicit-booleaness-not-comparison
380
+ # "PLC1804", # use-implicit-booleaness-not-comparison-to-string
381
+ # "PLC1805", # use-implicit-booleaness-not-comparison-to-zero
382
+ " PLC2801" , # unnecessary-dunder-call
383
+ # "PLC3001", # unnecessary-lambda-assignment
384
+ # "PLE0110", # abstract-class-instantiated
385
+ # "PLE0401", # import-error
386
+ # "PLE0601", # used-before-assignment
387
+ # "PLE0602", # undefined-variable
388
+ # "PLE0611", # no-name-in-module
389
+ # "PLE0633", # unpacking-non-sequence
390
+ # "PLE1101", # no-member
391
+ # "PLE1120", # no-value-for-parameter
392
+ # "PLE1121", # too-many-function-args
393
+ # "PLE1123", # unexpected-keyword-arg
394
+ # "PLE1124", # redundant-keyword-arg
395
+ # "PLE1130", # invalid-unary-operand-type
396
+ # "PLE1133", # not-an-iterable
397
+ # "PLE1135", # unsupported-membership-test
398
+ # "PLE1136", # unsubscriptable-object
399
+ # "PLE1137", # unsupported-assignment-operation
400
+ # "PLI0001", # raw-checker-failed
401
+ # "PLI0010", # bad-inline-option
402
+ # "PLI0011", # locally-disabled
403
+ # "PLI0013", # file-ignored
404
+ # "PLI0020", # suppressed-message
405
+ # "PLI0021", # useless-suppression
406
+ # "PLI0022", # deprecated-pragma
407
+ # "PLI0023", # use-symbolic-message-instead
408
+ # "PLI1101", # c-extension-no-member
409
+ " PLR0124" , # comparison-with-itself
410
+ # "PLR0401", # cyclic-import
411
+ # "PLR0801", # duplicate-code
412
+ # "PLR0901", # too-many-ancestors
413
+ # "PLR0902", # too-many-instance-attributes
414
+ # "PLR0903", # too-few-public-methods
415
+ " PLR0904" , # too-many-public-methods
416
+ " PLR0911" , # too-many-return-statements
417
+ " PLR0912" , # too-many-branches
418
+ " PLR0913" , # too-many-arguments
419
+ " PLR0914" , # too-many-locals
420
+ " PLR0915" , # too-many-statements
421
+ " PLR0916" , # too-many-boolean-expressions
422
+ " PLR1702" , # too-many-nested-blocks
423
+ " PLR1704" , # redefined-argument-from-local
424
+ # "PLR1705", # no-else-return
425
+ # "PLR1710", # inconsistent-return-statements
426
+ # "PLR1720", # no-else-raise
427
+ # "PLR1724", # no-else-continue
428
+ # "PLR1732", # consider-using-with
429
+ # "PLR1735", # use-dict-literal
430
+ # "PLW0102", # dangerous-default-value
431
+ # "PLW0104", # pointless-statement
432
+ # "PLW0106", # expression-not-assigned
433
+ " PLW0108" , # unnecessary-lambda
434
+ # "PLW0123", # eval-used
435
+ # "PLW0125", # using-constant-test
436
+ # "PLW0143", # comparison-with-callable
437
+ # "PLW0201", # attribute-defined-outside-init
438
+ # "PLW0212", # protected-access
439
+ # "PLW0221", # arguments-differ
440
+ # "PLW0222", # signature-differs
441
+ # "PLW0223", # abstract-method
442
+ # "PLW0231", # super-init-not-called
443
+ # "PLW0236", # invalid-overridden-method
444
+ # "PLW0237", # arguments-renamed
445
+ # "PLW0239", # overridden-final-method
446
+ # "PLW0511", # fixme
447
+ " PLW0603" , # global-statement
448
+ # "PLW0613", # unused-argument
449
+ # "PLW0621", # redefined-outer-name
450
+ # "PLW0622", # redefined-builtin
451
+ # "PLW0641", # possibly-unused-variable
452
+ # "PLW0642", # self-cls-assignment
453
+ # "PLW0706", # try-except-raise
454
+ # "PLW0707", # raise-missing-from
455
+ # "PLW0718", # broad-exception-caught
456
+ # "PLW0719", # broad-exception-raised
457
+ # "PLW1113", # keyword-arg-before-vararg
458
+ # "PLW1114", # arguments-out-of-order
459
+ # "PLW4901", # deprecated-module
364
460
]
365
461
366
462
exclude = [
@@ -389,7 +485,6 @@ exclude = [
389
485
390
486
391
487
392
- [tool .ruff .per-file-ignores ]
393
488
[tool .ruff .lint .per-file-ignores ]
394
489
# relative imports allowed for asv_bench
395
490
"asv_bench/*" = [" TID" , " NPY002" ]
0 commit comments