eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.exec
Module implementing a check for the use of 'exec'.
Global Attributes
Classes
Functions
checkExecUsed |
Function to check for the use of 'exec'. |
getChecks |
Public method to get a dictionary with checks handled by this module. |
checkExecUsed
checkExecUsed(reportError, context, config)
Function to check for the use of 'exec'.
- reportError (func)
-
function to be used to report errors
- context (SecurityContext)
-
security context object
- config (dict)
-
dictionary with configuration data
getChecks
getChecks()
Public method to get a dictionary with checks handled by this module.
- Returns:
-
dictionary containing checker lists containing checker function and
list of codes
- Return Type:
-
dict