--- a/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html Fri Mar 17 19:24:55 2017 +0100 +++ b/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html Fri Mar 17 19:25:58 2017 +0100 @@ -75,6 +75,9 @@ <td><a href="#CodeStyleCheckerDialog.__finish">__finish</a></td> <td>Private slot called when the code style check finished or the user pressed the cancel button.</td> </tr><tr> +<td><a href="#CodeStyleCheckerDialog.__getBuiltinsIgnoreList">__getBuiltinsIgnoreList</a></td> +<td>Private method to get a dictionary containing the builtins assignments to be ignored.</td> +</tr><tr> <td><a href="#CodeStyleCheckerDialog.__getEol">__getEol</a></td> <td>Private method to get the applicable eol string.</td> </tr><tr> @@ -84,6 +87,9 @@ <td><a href="#CodeStyleCheckerDialog.__getSelectedFutureImports">__getSelectedFutureImports</a></td> <td>Private method to get the expected future imports.</td> </tr><tr> +<td><a href="#CodeStyleCheckerDialog.__initBuiltinsIgnoreList">__initBuiltinsIgnoreList</a></td> +<td>Private method to populate the list of shadowed builtins to be ignored.</td> +</tr><tr> <td><a href="#CodeStyleCheckerDialog.__initFuturesList">__initFuturesList</a></td> <td>Private method to set the selected status of the future imports.</td> </tr><tr> @@ -123,9 +129,18 @@ <td><a href="#CodeStyleCheckerDialog.checkBatch">checkBatch</a></td> <td>Public method to start a style check batch job.</td> </tr><tr> +<td><a href="#CodeStyleCheckerDialog.on_addBuiltinButton_clicked">on_addBuiltinButton_clicked</a></td> +<td>Private slot to add a built-in assignment to be ignored.</td> +</tr><tr> +<td><a href="#CodeStyleCheckerDialog.on_builtinsAssignmentList_itemSelectionChanged">on_builtinsAssignmentList_itemSelectionChanged</a></td> +<td>Private slot to react upon changes of the selected builtin assignments.</td> +</tr><tr> <td><a href="#CodeStyleCheckerDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> <td>Private slot called by a button of the button box clicked.</td> </tr><tr> +<td><a href="#CodeStyleCheckerDialog.on_deleteBuiltinButton_clicked">on_deleteBuiltinButton_clicked</a></td> +<td>Private slot to delete the selected items from the list.</td> +</tr><tr> <td><a href="#CodeStyleCheckerDialog.on_excludeMessagesSelectButton_clicked">on_excludeMessagesSelectButton_clicked</a></td> <td>Private slot to select the message codes to be excluded via a selection dialog.</td> </tr><tr> @@ -259,7 +274,23 @@ <p> Private slot called when the code style check finished or the user pressed the cancel button. -</p><a NAME="CodeStyleCheckerDialog.__getEol" ID="CodeStyleCheckerDialog.__getEol"></a> +</p><a NAME="CodeStyleCheckerDialog.__getBuiltinsIgnoreList" ID="CodeStyleCheckerDialog.__getBuiltinsIgnoreList"></a> +<h4>CodeStyleCheckerDialog.__getBuiltinsIgnoreList</h4> +<b>__getBuiltinsIgnoreList</b>(<i></i>) +<p> + Private method to get a dictionary containing the builtins assignments + to be ignored. +</p><dl> +<dt>Returns:</dt> +<dd> +dictionary containing the builtins assignments to be ignored +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +dict of list of str +</dd> +</dl><a NAME="CodeStyleCheckerDialog.__getEol" ID="CodeStyleCheckerDialog.__getEol"></a> <h4>CodeStyleCheckerDialog.__getEol</h4> <b>__getEol</b>(<i>fn</i>) <p> @@ -299,6 +330,17 @@ <dd> str </dd> +</dl><a NAME="CodeStyleCheckerDialog.__initBuiltinsIgnoreList" ID="CodeStyleCheckerDialog.__initBuiltinsIgnoreList"></a> +<h4>CodeStyleCheckerDialog.__initBuiltinsIgnoreList</h4> +<b>__initBuiltinsIgnoreList</b>(<i>builtinsIgnoreDict</i>) +<p> + Private method to populate the list of shadowed builtins to be ignored. +</p><dl> +<dt><i>builtinsIgnoreDict</i> (dict of list of str)</dt> +<dd> +dictionary containing the builtins + assignments to be ignored +</dd> </dl><a NAME="CodeStyleCheckerDialog.__initFuturesList" ID="CodeStyleCheckerDialog.__initFuturesList"></a> <h4>CodeStyleCheckerDialog.__initFuturesList</h4> <b>__initFuturesList</b>(<i>selectedFutures</i>) @@ -464,6 +506,16 @@ Public method to start a style check batch job. </p><p> The results are reported to the __processResult slot. +</p><a NAME="CodeStyleCheckerDialog.on_addBuiltinButton_clicked" ID="CodeStyleCheckerDialog.on_addBuiltinButton_clicked"></a> +<h4>CodeStyleCheckerDialog.on_addBuiltinButton_clicked</h4> +<b>on_addBuiltinButton_clicked</b>(<i></i>) +<p> + Private slot to add a built-in assignment to be ignored. +</p><a NAME="CodeStyleCheckerDialog.on_builtinsAssignmentList_itemSelectionChanged" ID="CodeStyleCheckerDialog.on_builtinsAssignmentList_itemSelectionChanged"></a> +<h4>CodeStyleCheckerDialog.on_builtinsAssignmentList_itemSelectionChanged</h4> +<b>on_builtinsAssignmentList_itemSelectionChanged</b>(<i></i>) +<p> + Private slot to react upon changes of the selected builtin assignments. </p><a NAME="CodeStyleCheckerDialog.on_buttonBox_clicked" ID="CodeStyleCheckerDialog.on_buttonBox_clicked"></a> <h4>CodeStyleCheckerDialog.on_buttonBox_clicked</h4> <b>on_buttonBox_clicked</b>(<i>button</i>) @@ -474,7 +526,12 @@ <dd> button that was clicked (QAbstractButton) </dd> -</dl><a NAME="CodeStyleCheckerDialog.on_excludeMessagesSelectButton_clicked" ID="CodeStyleCheckerDialog.on_excludeMessagesSelectButton_clicked"></a> +</dl><a NAME="CodeStyleCheckerDialog.on_deleteBuiltinButton_clicked" ID="CodeStyleCheckerDialog.on_deleteBuiltinButton_clicked"></a> +<h4>CodeStyleCheckerDialog.on_deleteBuiltinButton_clicked</h4> +<b>on_deleteBuiltinButton_clicked</b>(<i></i>) +<p> + Private slot to delete the selected items from the list. +</p><a NAME="CodeStyleCheckerDialog.on_excludeMessagesSelectButton_clicked" ID="CodeStyleCheckerDialog.on_excludeMessagesSelectButton_clicked"></a> <h4>CodeStyleCheckerDialog.on_excludeMessagesSelectButton_clicked</h4> <b>on_excludeMessagesSelectButton_clicked</b>(<i></i>) <p>