--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/djangoSqlInjection.py Sun Feb 23 12:42:47 2025 +0100 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/djangoSqlInjection.py Mon Feb 24 15:11:18 2025 +0100 @@ -30,8 +30,8 @@ """ return { "Call": [ - (checkDjangoExtraUsed, ("S610",)), - (checkDjangoRawSqlUsed, ("S611",)), + (checkDjangoExtraUsed, ("S-610",)), + (checkDjangoRawSqlUsed, ("S-611",)), ], } @@ -106,7 +106,7 @@ if insecure: reportError( - context.node.lineno - 1, context.node.col_offset, "S610", "M", "M" + context.node.lineno - 1, context.node.col_offset, "S-610", "M", "M" ) @@ -132,5 +132,5 @@ sql = kwargs["sql"] if not AstUtilities.isString(sql): reportError( - context.node.lineno - 1, context.node.col_offset, "S611", "M", "M" + context.node.lineno - 1, context.node.col_offset, "S-611", "M", "M" )