Sat, 26 Apr 2025 12:34:32 +0200
MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.
<!DOCTYPE html> <html><head> <title>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Pydantic.PydanticChecker</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Pydantic.PydanticChecker</h1> <p> Module implementing a checker for pydantic related issues. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#PydanticChecker">PydanticChecker</a></td> <td>Class implementing a checker for pydantic related issues.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="PydanticChecker" ID="PydanticChecker"></a> <h2>PydanticChecker</h2> <p> Class implementing a checker for pydantic related issues. </p> <h3>Derived from</h3> CodeStyleTopicChecker <h3>Class Attributes</h3> <table> <tr><td>Category</td></tr> <tr><td>Codes</td></tr> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#PydanticChecker.__init__">PydanticChecker</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#PydanticChecker.__checkPydantic">__checkPydantic</a></td> <td>Private method to check pydantic related topics.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="PydanticChecker.__init__" ID="PydanticChecker.__init__"></a> <h4>PydanticChecker (Constructor)</h4> <b>PydanticChecker</b>(<i>source, filename, tree, select, ignore, expected, repeat, args</i>) <p> Constructor </p> <dl> <dt><i>source</i> (list of str)</dt> <dd> source code to be checked </dd> <dt><i>filename</i> (str)</dt> <dd> name of the source file </dd> <dt><i>tree</i> (ast.Module)</dt> <dd> AST tree of the source code </dd> <dt><i>select</i> (list of str)</dt> <dd> list of selected codes </dd> <dt><i>ignore</i> (list of str)</dt> <dd> list of codes to be ignored </dd> <dt><i>expected</i> (list of str)</dt> <dd> list of expected codes </dd> <dt><i>repeat</i> (bool)</dt> <dd> flag indicating to report each occurrence of a code </dd> <dt><i>args</i> (dict)</dt> <dd> dictionary of arguments for the various checks </dd> </dl> <a NAME="PydanticChecker.__checkPydantic" ID="PydanticChecker.__checkPydantic"></a> <h4>PydanticChecker.__checkPydantic</h4> <b>__checkPydantic</b>(<i></i>) <p> Private method to check pydantic related topics. </p> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>