--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/DocStyle/DocStyleChecker.py Thu Apr 08 17:27:12 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/DocStyle/DocStyleChecker.py Thu Apr 08 18:27:47 2021 +0200 @@ -863,7 +863,7 @@ summary, lineNumber = self.__getSummaryLine(docstringContext) if ( functionName + "(" in summary.replace(" ", "") and - not functionName + "()" in summary.replace(" ", "") + functionName + "()" not in summary.replace(" ", "") ): # report only, if it is not an abbreviated form (i.e. function() ) self.__error(docstringContext.start() + lineNumber, 0, "D133") @@ -1034,7 +1034,7 @@ if ( summary and not summary.endswith(".") and - not summary.split(None, 1)[0].lower() == "constructor" + summary.split(None, 1)[0].lower() != "constructor" ): self.__error( docstringContext.start() + lineNumber +