--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/sshNoHostKeyVerification.py Wed Jul 13 11:16:20 2022 +0200 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/sshNoHostKeyVerification.py Wed Jul 13 14:55:47 2022 +0200 @@ -19,7 +19,7 @@ def getChecks(): """ Public method to get a dictionary with checks handled by this module. - + @return dictionary containing checker lists containing checker function and list of codes @rtype dict @@ -34,7 +34,7 @@ def checkSshNoHostKeyVerification(reportError, context, config): """ Function to check for use of mako templates. - + @param reportError function to be used to report errors @type func @param context security context object @@ -43,10 +43,10 @@ @type dict """ if ( - context.isModuleImportedLike('paramiko') and - context.callFunctionName == 'set_missing_host_key_policy' and - context.callArgs and - context.callArgs[0] in ['AutoAddPolicy', 'WarningPolicy'] + context.isModuleImportedLike("paramiko") + and context.callFunctionName == "set_missing_host_key_policy" + and context.callArgs + and context.callArgs[0] in ["AutoAddPolicy", "WarningPolicy"] ): reportError( context.node.lineno - 1,