Module implementing checks for insecure except blocks.
None |
None |
checkContextlibSuppress | Function to check for a contextlib.suppress with a non-specific Exception. |
checkTryExceptContinue | Function to check for a continue in the except block. |
checkTryExceptPass | Function to check for a pass in the except block. |
getChecks | Public method to get a dictionary with checks handled by this module. |
Function to check for a contextlib.suppress with a non-specific Exception.
Function to check for a continue in the except block.
Function to check for a pass in the except block.
Public method to get a dictionary with checks handled by this module.