Plugins/CheckerPlugins/CodeStyleChecker/translations.py

changeset 6184
789e88d94899
parent 6183
29384109306c
child 6246
fe07a9f16f23
equal deleted inserted replaced
6183:29384109306c 6184:789e88d94899
517 "'sys.maxint' is not defined in Python 3 - use 'sys.maxsize'"), 517 "'sys.maxint' is not defined in Python 3 - use 'sys.maxsize'"),
518 "M505": QCoreApplication.translate( 518 "M505": QCoreApplication.translate(
519 "MiscellaneousChecker", 519 "MiscellaneousChecker",
520 "'BaseException.message' has been deprecated as of Python 2.6 and is" 520 "'BaseException.message' has been deprecated as of Python 2.6 and is"
521 " removed in Python 3 - use 'str(e)'"), 521 " removed in Python 3 - use 'str(e)'"),
522 "M506": QCoreApplication.translate(
523 "MiscellaneousChecker",
524 "assigning to 'os.environ' does not clear the environment -"
525 " use 'os.environ.clear()'"),
526 "M507": QCoreApplication.translate(
527 "MiscellaneousChecker",
528 "loop control variable {0} not used within the loop body -"
529 " start the name with an underscore"),
522 "M511": QCoreApplication.translate( 530 "M511": QCoreApplication.translate(
523 "MiscellaneousChecker", 531 "MiscellaneousChecker",
524 "Python 3 does not include '.iter*' methods on dictionaries"), 532 "Python 3 does not include '.iter*' methods on dictionaries"),
525 "M512": QCoreApplication.translate( 533 "M512": QCoreApplication.translate(
526 "MiscellaneousChecker", 534 "MiscellaneousChecker",
527 "Python 3 does not include '.view*' methods on dictionaries"), 535 "Python 3 does not include '.view*' methods on dictionaries"),
528 "M513": QCoreApplication.translate( 536 "M513": QCoreApplication.translate(
529 "MiscellaneousChecker", 537 "MiscellaneousChecker",
530 "'.next()' does not exist in Python 3"), 538 "'.next()' does not exist in Python 3"),
539 "M514": QCoreApplication.translate(
540 "MiscellaneousChecker",
541 "'__metaclass__' does nothing on Python 3 -"
542 " use 'class MyClass(BaseClass, metaclass=...)'"),
531 543
532 "M601": QCoreApplication.translate( 544 "M601": QCoreApplication.translate(
533 "MiscellaneousChecker", 545 "MiscellaneousChecker",
534 "found {0} formatter"), 546 "found {0} formatter"),
535 "M611": QCoreApplication.translate( 547 "M611": QCoreApplication.translate(
790 "M102": ["enc42"], 802 "M102": ["enc42"],
791 "M131": ["list"], 803 "M131": ["list"],
792 "M132": ["list"], 804 "M132": ["list"],
793 "M198": ["sorted"], 805 "M198": ["sorted"],
794 "M201": ["bar", "foo"], 806 "M201": ["bar", "foo"],
807 "M507": ["x"],
795 "M601": ["%s"], 808 "M601": ["%s"],
796 "M621": [5], 809 "M621": [5],
797 "M622": ["foo"], 810 "M622": ["foo"],
798 "M631": [5], 811 "M631": [5],
799 "M632": ["foo"], 812 "M632": ["foo"],

eric ide

mercurial