--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleFixer.py Mon Feb 24 15:11:18 2025 +0100 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleFixer.py Mon Feb 24 15:43:49 2025 +0100 @@ -21,7 +21,7 @@ with contextlib.suppress(ImportError): import pycodestyle -FixableCodeStyleIssues = [ # noqa: U200 +FixableCodeStyleIssues = [ # noqa: U-200 "D-111", "D-112", "D-121", @@ -1702,7 +1702,7 @@ """ Private method to fix the long lines by breaking them. - Codes: E501 + Codes: E-501 @param code code of the issue @type str @@ -1748,7 +1748,7 @@ newNextText = "" self.__source[line + 1] = newNextText # Long lines have been shortened. - return (1, "FIX-E501", [], 0) + return (1, "FIX-E-501", [], 0) else: return (0, "", [], 0) else: @@ -3055,7 +3055,7 @@ """ count = 0 for opening, closing in ["()", "[]", "{}"]: - # __IGNORE_WARNING_M613__ + # __IGNORE_WARNING_M-613__ count += abs(line.count(opening) - line.count(closing)) return count