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