diff -r 59e04f7003e9 -r dee6e106b4d3 src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/insecureSslTls.py --- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/insecureSslTls.py Sun Feb 23 12:42:47 2025 +0100 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/insecureSslTls.py Mon Feb 24 15:11:18 2025 +0100 @@ -28,11 +28,11 @@ """ return { "Call": [ - (checkInsecureSslProtocolVersion, ("S502",)), - (checkSslWithoutVersion, ("S504",)), + (checkInsecureSslProtocolVersion, ("S-502",)), + (checkSslWithoutVersion, ("S-504",)), ], "FunctionDef": [ - (checkInsecureSslDefaults, ("S503",)), + (checkInsecureSslDefaults, ("S-503",)), ], } @@ -59,7 +59,7 @@ reportError( context.getLinenoForCallArg("ssl_version") - 1, context.getOffsetForCallArg("ssl_version"), - "S502.1", + "S-502.1", "H", "H", ) @@ -69,7 +69,7 @@ reportError( context.getLinenoForCallArg("method") - 1, context.getOffsetForCallArg("method"), - "S502.2", + "S-502.2", "H", "H", ) @@ -82,7 +82,7 @@ reportError( context.getLinenoForCallArg("method") - 1, context.getOffsetForCallArg("method"), - "S502.3", + "S-502.3", "H", "H", ) @@ -91,7 +91,7 @@ reportError( context.getLinenoForCallArg("ssl_version") - 1, context.getOffsetForCallArg("ssl_version"), - "S502.3", + "S-502.3", "H", "H", ) @@ -120,7 +120,7 @@ reportError( context.node.lineno - 1, context.node.col_offset, - "S503", + "S-503", "M", "M", ) @@ -148,7 +148,7 @@ reportError( context.node.lineno - 1, context.node.col_offset, - "S504", + "S-504", "L", "M", )