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

branch
eric7
changeset 9325
8157eb19aba5
parent 9221
bf71ee032bb4
child 9653
e67609152c5e
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/certificateValidation.py	Tue Sep 13 19:46:19 2022 +0200
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/certificateValidation.py	Tue Sep 13 20:00:55 2022 +0200
@@ -42,10 +42,10 @@
     @param config dictionary with configuration data
     @type dict
     """
-    http_verbs = ("get", "options", "head", "post", "put", "patch", "delete")
+    httpVerbs = ("get", "options", "head", "post", "put", "patch", "delete")
     if (
         "requests" in context.callFunctionNameQual
-        and context.callFunctionName in http_verbs
+        and context.callFunctionName in httpVerbs
         and context.checkCallArgValue("verify", "False")
     ):
         reportError(

eric ide

mercurial