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

branch
eric7
changeset 11140
b823386f7591
parent 11138
1f743bad6fd3
child 11147
dee6e106b4d3
equal deleted inserted replaced
11139:cd22e8e705f4 11140:b823386f7591
633 ), 633 ),
634 ## commented code 634 ## commented code
635 "M891": QCoreApplication.translate( 635 "M891": QCoreApplication.translate(
636 "MiscellaneousChecker", 636 "MiscellaneousChecker",
637 "commented code lines should be removed", 637 "commented code lines should be removed",
638 ),
639 ## structural pattern matching
640 "M901": QCoreApplication.translate(
641 "MiscellaneousChecker",
642 "matching a default value should raise a `ValueError` exception",
643 ),
644 "M902": QCoreApplication.translate(
645 "MiscellaneousChecker",
646 "matching a default value should not contain a `return` statement before "
647 "raising a `ValueError` exception",
638 ), 648 ),
639 } 649 }
640 650
641 _miscellaneousMessagesSampleArgs = { 651 _miscellaneousMessagesSampleArgs = {
642 ## Coding line 652 ## Coding line

eric ide

mercurial