diff -r fd477cded1c1 -r 4a0f1f896341 eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/generalHardcodedPassword.py --- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/generalHardcodedPassword.py Thu Apr 08 17:27:12 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/generalHardcodedPassword.py Thu Apr 08 18:27:47 2021 +0200 @@ -153,7 +153,7 @@ # go through all (param, value)s and look for candidates for key, val in zip(context.node.args.args, defs): - if isinstance(key, ast.Name) or isinstance(key, ast.arg): + if isinstance(key, (ast.Name, ast.arg)): if AstUtilities.isString(val) and RE_CANDIDATES.search(key.arg): reportError( context.node.lineno - 1,