diff -r dee6e106b4d3 -r 15e30f0c76a8 src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/pycodestyle.py --- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/pycodestyle.py Mon Feb 24 15:11:18 2025 +0100 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/pycodestyle.py Mon Feb 24 15:43:49 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 E501. + Reports error E-501. """ 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, "E501 line too long " + return (max_line_length, "E-501 line too long " "(%d > %d characters)" % (length, max_line_length), length, max_line_length) @@ -922,7 +922,7 @@ if text == ':' and brace_stack[-1:] == ['[']: pass # 3.12+ fstring format specifier - elif text == ':' and brace_stack[-2:] == ['f', '{']: # pragma: >=3.12 cover # noqa: E501 + elif text == ':' and brace_stack[-2:] == ['f', '{']: # pragma: >=3.12 cover # noqa: E-501 pass # tuple (and list for some reason?) elif text == ',' and next_char in ')]': @@ -2733,4 +2733,4 @@ if __name__ == '__main__': _main() # -# eflag: noqa = D2, M601, M801 +# eflag: noqa = D2, M-601, M-801