diff -r 054667c5c270 -r 65d1bf4b7427 Plugins/CheckerPlugins/CodeStyleChecker/translations.py --- a/Plugins/CheckerPlugins/CodeStyleChecker/translations.py Tue Mar 19 19:07:05 2019 +0100 +++ b/Plugins/CheckerPlugins/CodeStyleChecker/translations.py Tue Mar 19 19:32:33 2019 +0100 @@ -564,7 +564,6 @@ "MiscellaneousChecker", "'__metaclass__' does nothing on Python 3 -" " use 'class MyClass(BaseClass, metaclass=...)'"), - "M601": QCoreApplication.translate( "MiscellaneousChecker", "found {0} formatter"), @@ -637,6 +636,22 @@ "M823": QCoreApplication.translate( "MiscellaneousChecker", "mutable default argument of function call '{0}'"), + "M831": QCoreApplication.translate( + "MiscellaneousChecker", + "None should not be added at any return if function has no return" + " value except None"), + "M832": QCoreApplication.translate( + "MiscellaneousChecker", + "an explicit value at every return should be added if function has" + " a return value except None"), + "M833": QCoreApplication.translate( + "MiscellaneousChecker", + "an explicit return at the end of the function should be added if" + " it has a return value except None"), + "M834": QCoreApplication.translate( + "MiscellaneousChecker", + "a value should not be assigned to a variable if it will be used as a" + " return value only"), "M901": QCoreApplication.translate( "MiscellaneousChecker", "{0}: {1}"),