--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/DocStyle/translations.py Sat Dec 23 15:48:12 2023 +0100 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/DocStyle/translations.py Sun Dec 24 19:46:25 2023 +0100 @@ -188,6 +188,9 @@ "DocStyleChecker", "'{0}' line should be followed by an '{1}' line" ), "D271": QCoreApplication.translate( + "DocStyleChecker", "'{0}' line should not be preceded by an empty line" + ), + "D272": QCoreApplication.translate( "DocStyleChecker", "don't use '{0}' but '{1}' instead" ), } @@ -199,5 +202,6 @@ "D262": ["buttonClicked"], "D263": ["buttonClicked"], "D270": ["@param", "@type"], - "D271": ["@ptype", "@type"], + "D271": ["@type"], + "D272": ["@ptype", "@type"], }