--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/DocStyle/translations.py Fri Jan 15 19:49:36 2021 +0100 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/DocStyle/translations.py Sat Jan 16 16:32:01 2021 +0100 @@ -84,14 +84,22 @@ "DocStyleChecker", "docstring summary does not end with a period"), "D232": QCoreApplication.translate( "DocStyleChecker", "docstring summary does not start with '{0}'"), - "D234": QCoreApplication.translate( + "D234r": QCoreApplication.translate( "DocStyleChecker", "docstring does not contain a @return line but function/method" " returns something"), - "D235": QCoreApplication.translate( + "D235r": QCoreApplication.translate( "DocStyleChecker", "docstring contains a @return line but function/method doesn't" " return anything"), + "D234y": QCoreApplication.translate( + "DocStyleChecker", + "docstring does not contain a @yield line but function/method" + " yields something"), + "D235y": QCoreApplication.translate( + "DocStyleChecker", + "docstring contains a @yield line but function/method doesn't" + " yield anything"), "D236": QCoreApplication.translate( "DocStyleChecker", "docstring does not contain enough @param/@keyparam lines"),