--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/snmpSecurity.py Tue Apr 16 15:47:11 2024 +0200 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/snmpSecurity.py Sat Apr 20 18:01:36 2024 +0200 @@ -32,7 +32,7 @@ } -def checkInsecureVersion(reportError, context, config): # noqa: U100 +def checkInsecureVersion(reportError, context, _config): """ Function to check for the use of insecure SNMP version like v1, v2c. @@ -41,7 +41,7 @@ @type func @param context security context object @type SecurityContext - @param config dictionary with configuration data + @param _config dictionary with configuration data (unused) @type dict """ if context.callFunctionNameQual == "pysnmp.hlapi.CommunityData" and ( @@ -58,7 +58,7 @@ ) -def checkWeakCryptography(reportError, context, config): # noqa: U100 +def checkWeakCryptography(reportError, context, _config): """ Function to check for the use of insecure SNMP cryptography (i.e. v3 using noAuthNoPriv). @@ -67,7 +67,7 @@ @type func @param context security context object @type SecurityContext - @param config dictionary with configuration data + @param _config dictionary with configuration data (unused) @type dict """ if (