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 |