src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/injectionSql.py

branch
eric7
changeset 11147
dee6e106b4d3
parent 11090
f5f5f5803935
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/injectionSql.py	Sun Feb 23 12:42:47 2025 +0100
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/injectionSql.py	Mon Feb 24 15:11:18 2025 +0100
@@ -31,7 +31,7 @@
     """
     return {
         "Str": [
-            (checkHardcodedSqlExpressions, ("S608",)),
+            (checkHardcodedSqlExpressions, ("S-608",)),
         ],
     }
 
@@ -121,7 +121,7 @@
         reportError(
             context.node.lineno - 1,
             context.node.col_offset,
-            "S608",
+            "S-608",
             "M",
             "M" if executeCall and not strReplace else "L",
         )

eric ide

mercurial