eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.requestWithoutTimeout

Module implementing checks for using 'requests' or 'httpx' calls without timeout.

Global Attributes

None

Classes

None

Functions

checkRequestWithouTimeout Function to check for use of requests without timeout.
getChecks Public method to get a dictionary with checks handled by this module.


checkRequestWithouTimeout

checkRequestWithouTimeout(reportError, context, _config)

Function to check for use of requests without timeout.

reportError (func)
function to be used to report errors
context (SecurityContext)
security context object
_config (dict)
dictionary with configuration data (unused)
Up


getChecks

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
Return Type:
dict
Up