--- a/src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.NameOrder.NameOrderChecker.html Thu Feb 27 09:22:15 2025 +0100 +++ b/src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.NameOrder.NameOrderChecker.html Thu Feb 27 14:42:39 2025 +0100 @@ -42,11 +42,11 @@ </p> <h3>Derived from</h3> -None +CodeStyleTopicChecker <h3>Class Attributes</h3> <table> +<tr><td>Category</td></tr> <tr><td>Codes</td></tr> -<tr><td>Prefix</td></tr> </table> <h3>Class Methods</h3> @@ -69,10 +69,6 @@ <td>Private method to check the order of import statements and handled exceptions.</td> </tr> <tr> -<td><a href="#NameOrderChecker.__error">__error</a></td> -<td>Private method to record an issue.</td> -</tr> -<tr> <td><a href="#NameOrderChecker.__findErrorInAll">__findErrorInAll</a></td> <td>Private method to check the '__all__' node for errors.</td> </tr> @@ -93,10 +89,6 @@ <td>Private method to find all import and import from nodes of the given tree.</td> </tr> <tr> -<td><a href="#NameOrderChecker.__ignoreCode">__ignoreCode</a></td> -<td>Private method to check if the message code should be ignored.</td> -</tr> -<tr> <td><a href="#NameOrderChecker.__naturalKeys">__naturalKeys</a></td> <td>Private method to generate keys for natural sorting.</td> </tr> @@ -113,10 +105,6 @@ <td>Public method to generate a key for the given module name.</td> </tr> <tr> -<td><a href="#NameOrderChecker.run">run</a></td> -<td>Public method to check the given source against miscellaneous conditions.</td> -</tr> -<tr> <td><a href="#NameOrderChecker.sorted">sorted</a></td> <td>Public method to sort the given list of names.</td> </tr> @@ -203,32 +191,6 @@ Private method to check the order of import statements and handled exceptions. </p> -<a NAME="NameOrderChecker.__error" ID="NameOrderChecker.__error"></a> -<h4>NameOrderChecker.__error</h4> -<b>__error</b>(<i>lineNumber, offset, code, *args</i>) -<p> - Private method to record an issue. -</p> - -<dl> - -<dt><i>lineNumber</i> (int)</dt> -<dd> -line number of the issue -</dd> -<dt><i>offset</i> (int)</dt> -<dd> -position within line of the issue -</dd> -<dt><i>code</i> (str)</dt> -<dd> -message code -</dd> -<dt><i>args</i> (list)</dt> -<dd> -arguments for the message -</dd> -</dl> <a NAME="NameOrderChecker.__findErrorInAll" ID="NameOrderChecker.__findErrorInAll"></a> <h4>NameOrderChecker.__findErrorInAll</h4> <b>__findErrorInAll</b>(<i>node</i>) @@ -246,7 +208,7 @@ <dl> <dt>Return:</dt> <dd> -tuple containing a reference to the node an error code and the error +tuple containing a reference to the node, an error code and the error arguments </dd> </dl> @@ -363,32 +325,6 @@ ast.List | ast.Tuple) </dd> </dl> -<a NAME="NameOrderChecker.__ignoreCode" ID="NameOrderChecker.__ignoreCode"></a> -<h4>NameOrderChecker.__ignoreCode</h4> -<b>__ignoreCode</b>(<i>code</i>) -<p> - Private method to check if the message code should be ignored. -</p> - -<dl> - -<dt><i>code</i> (str)</dt> -<dd> -message code to check for -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -flag indicating to ignore the given code -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -bool -</dd> -</dl> <a NAME="NameOrderChecker.__naturalKeys" ID="NameOrderChecker.__naturalKeys"></a> <h4>NameOrderChecker.__naturalKeys</h4> <b>__naturalKeys</b>(<i>text</i>) @@ -489,14 +425,6 @@ str </dd> </dl> -<a NAME="NameOrderChecker.run" ID="NameOrderChecker.run"></a> -<h4>NameOrderChecker.run</h4> -<b>run</b>(<i></i>) -<p> - Public method to check the given source against miscellaneous - conditions. -</p> - <a NAME="NameOrderChecker.sorted" ID="NameOrderChecker.sorted"></a> <h4>NameOrderChecker.sorted</h4> <b>sorted</b>(<i>toSort, key=None, reverse=False</i>)