Mon, 09 Jan 2023 11:22:56 +0100
Moved the 'QtHelp' subpackage out of the WebBrowser package because it is used in the HelpViewer as well.
<!DOCTYPE html> <html><head> <title>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tryExcept</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tryExcept</h1> <p> Module implementing checks for insecure except blocks. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr><td>None</td></tr> </table> <h3>Functions</h3> <table> <tr> <td><a href="#checkContextlibSuppress">checkContextlibSuppress</a></td> <td>Function to check for a contextlib.suppress with a non-specific Exception.</td> </tr> <tr> <td><a href="#checkTryExceptContinue">checkTryExceptContinue</a></td> <td>Function to check for a continue in the except block.</td> </tr> <tr> <td><a href="#checkTryExceptPass">checkTryExceptPass</a></td> <td>Function to check for a pass in the except block.</td> </tr> <tr> <td><a href="#getChecks">getChecks</a></td> <td>Public method to get a dictionary with checks handled by this module.</td> </tr> </table> <hr /> <hr /> <a NAME="checkContextlibSuppress" ID="checkContextlibSuppress"></a> <h2>checkContextlibSuppress</h2> <b>checkContextlibSuppress</b>(<i>reportError, context, config</i>) <p> Function to check for a contextlib.suppress with a non-specific Exception. </p> <dl> <dt><i>reportError</i> (func)</dt> <dd> function to be used to report errors </dd> <dt><i>context</i> (SecurityContext)</dt> <dd> security context object </dd> <dt><i>config</i> (dict)</dt> <dd> dictionary with configuration data </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="checkTryExceptContinue" ID="checkTryExceptContinue"></a> <h2>checkTryExceptContinue</h2> <b>checkTryExceptContinue</b>(<i>reportError, context, config</i>) <p> Function to check for a continue in the except block. </p> <dl> <dt><i>reportError</i> (func)</dt> <dd> function to be used to report errors </dd> <dt><i>context</i> (SecurityContext)</dt> <dd> security context object </dd> <dt><i>config</i> (dict)</dt> <dd> dictionary with configuration data </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="checkTryExceptPass" ID="checkTryExceptPass"></a> <h2>checkTryExceptPass</h2> <b>checkTryExceptPass</b>(<i>reportError, context, config</i>) <p> Function to check for a pass in the except block. </p> <dl> <dt><i>reportError</i> (func)</dt> <dd> function to be used to report errors </dd> <dt><i>context</i> (SecurityContext)</dt> <dd> security context object </dd> <dt><i>config</i> (dict)</dt> <dd> dictionary with configuration data </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="getChecks" ID="getChecks"></a> <h2>getChecks</h2> <b>getChecks</b>(<i></i>) <p> Public method to get a dictionary with checks handled by this module. </p> <dl> <dt>Return:</dt> <dd> dictionary containing checker lists containing checker function and list of codes </dd> </dl> <dl> <dt>Return Type:</dt> <dd> dict </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>