src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py

branch
eric7
changeset 10186
91c3ba0767ad
parent 10098
57479c461170
child 10192
f457742dd3d6
equal deleted inserted replaced
10185:29e896e9e74e 10186:91c3ba0767ad
408 "Possible unintentional type annotation (using ':'). Did you mean to" 408 "Possible unintentional type annotation (using ':'). Did you mean to"
409 " assign (using '=')?", 409 " assign (using '=')?",
410 ), 410 ),
411 "M533": QCoreApplication.translate( 411 "M533": QCoreApplication.translate(
412 "MiscellaneousChecker", 412 "MiscellaneousChecker",
413 "Sets should not contain duplicate items. Duplicate items will be replaced" 413 "Set should not contain duplicate item '{0}'. Duplicate items will be replaced"
414 " with a single item at runtime.", 414 " with a single item at runtime.",
415 ),
416 "M534": QCoreApplication.translate(
417 "MiscellaneousChecker",
418 "re.{0} should get '{1}' and 'flags' passed as keyword arguments to avoid"
419 " confusion due to unintuitive argument positions.",
415 ), 420 ),
416 ## Bugbear++ 421 ## Bugbear++
417 "M581": QCoreApplication.translate("MiscellaneousChecker", "unncessary f-string"), 422 "M581": QCoreApplication.translate("MiscellaneousChecker", "unncessary f-string"),
418 "M582": QCoreApplication.translate( 423 "M582": QCoreApplication.translate(
419 "MiscellaneousChecker", 424 "MiscellaneousChecker",
561 "M514": ["OSError, IOError", " as err", "OSError"], 566 "M514": ["OSError, IOError", " as err", "OSError"],
562 "M523": ["x"], 567 "M523": ["x"],
563 "M524": ["foobar"], 568 "M524": ["foobar"],
564 "M525": ["OSError"], 569 "M525": ["OSError"],
565 "M527": ["foo"], 570 "M527": ["foo"],
571 "M533": ["foo"],
572 "M534": ["split", "maxsplit"],
566 "M601": ["%s"], 573 "M601": ["%s"],
567 "M621": [5], 574 "M621": [5],
568 "M622": ["foo"], 575 "M622": ["foo"],
569 "M631": [5], 576 "M631": [5],
570 "M632": ["foo"], 577 "M632": ["foo"],

eric ide

mercurial