--- a/Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py Fri Mar 02 19:37:12 2018 +0100 +++ b/Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py Sat Mar 03 17:29:42 2018 +0100 @@ -698,6 +698,11 @@ if (not docstring or not docstring.strip() or not docstring.strip('\'"')): self.__error(context.start(), 0, "D101") + + if self.__docType == "eric" and \ + docstring.strip('\'"').strip() == "Module documentation goes here.": + self.__error(docstringContext.end(), 0, "D201") + return def __checkFunctionDocstring(self, docstringContext, context): """ @@ -724,6 +729,12 @@ if (not docstring or not docstring.strip() or not docstring.strip('\'"')): self.__error(context.start(), 0, code) + + if self.__docType == "eric" and \ + docstring.strip('\'"').strip() == \ + "Function documentation goes here.": + self.__error(docstringContext.end(), 0, "D202") + return def __checkClassDocstring(self, docstringContext, context): """ @@ -754,7 +765,7 @@ if self.__docType == "eric" and \ docstring.strip('\'"').strip() == "Class documentation goes here.": - self.__error(context.start(), 0, "D206") + self.__error(docstringContext.end(), 0, "D206") return def __checkTripleDoubleQuotes(self, docstringContext, context):