diff -r fc45672fae42 -r 73d80859079c src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/pycodestyle.py --- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/pycodestyle.py Thu Feb 27 09:22:15 2025 +0100 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/pycodestyle.py Thu Feb 27 14:42:39 2025 +0100 @@ -289,7 +289,7 @@ of 79 characters. For flowing long blocks of text (docstrings or comments), limiting the length to 72 characters is recommended. - Reports error E-501. + Reports error E501. """ line = physical_line.rstrip() length = len(line) @@ -306,7 +306,7 @@ len(line) - len(chunks[-1]) < max_line_length - 7: return if length > max_line_length: - return (max_line_length, "E-501 line too long " + return (max_line_length, "E501 line too long " "(%d > %d characters)" % (length, max_line_length), length, max_line_length)