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

branch
eric7
changeset 11147
dee6e106b4d3
parent 11090
f5f5f5803935
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/flaskDebug.py	Sun Feb 23 12:42:47 2025 +0100
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/flaskDebug.py	Mon Feb 24 15:11:18 2025 +0100
@@ -26,7 +26,7 @@
     """
     return {
         "Call": [
-            (checkFlaskDebug, ("S201",)),
+            (checkFlaskDebug, ("S-201",)),
         ],
     }
 
@@ -47,4 +47,4 @@
         and context.callFunctionNameQual.endswith(".run")
         and context.checkCallArgValue("debug", "True")
     ):
-        reportError(context.node.lineno - 1, context.node.col_offset, "S201", "L", "M")
+        reportError(context.node.lineno - 1, context.node.col_offset, "S-201", "L", "M")

eric ide

mercurial