507 "format call provides unused index ({0})", |
507 "format call provides unused index ({0})", |
508 ), |
508 ), |
509 "M632": QCoreApplication.translate( |
509 "M632": QCoreApplication.translate( |
510 "MiscellaneousChecker", |
510 "MiscellaneousChecker", |
511 "format call provides unused keyword ({0})", |
511 "format call provides unused keyword ({0})", |
512 ), |
|
513 ## Logging |
|
514 "M651": QCoreApplication.translate( |
|
515 "MiscellaneousChecker", |
|
516 "logging statement uses string.format()", |
|
517 ), |
|
518 "M652": QCoreApplication.translate( |
|
519 "MiscellaneousChecker", |
|
520 "logging statement uses '%'", # __IGNORE_WARNING_M601__ |
|
521 ), |
|
522 "M653": QCoreApplication.translate( |
|
523 "MiscellaneousChecker", |
|
524 "logging statement uses '+'", |
|
525 ), |
|
526 "M654": QCoreApplication.translate( |
|
527 "MiscellaneousChecker", |
|
528 "logging statement uses f-string", |
|
529 ), |
|
530 "M655": QCoreApplication.translate( |
|
531 "MiscellaneousChecker", |
|
532 "logging statement uses 'warn' instead of 'warning'", |
|
533 ), |
512 ), |
534 ## Future statements |
513 ## Future statements |
535 "M701": QCoreApplication.translate( |
514 "M701": QCoreApplication.translate( |
536 "MiscellaneousChecker", |
515 "MiscellaneousChecker", |
537 "expected these __future__ imports: {0}; but only got: {1}", |
516 "expected these __future__ imports: {0}; but only got: {1}", |