--- a/PyLint/Documentation/source/Plugin_Checker_PyLint.PluginPyLint.html Wed Jun 02 17:36:34 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,451 +0,0 @@ -<!DOCTYPE html> -<html><head> -<title>Plugin_Checker_PyLint.PluginPyLint</title> -<meta charset="UTF-8"> -<style> -body { - background: #EDECE6; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #85774A; } -h2 { color: white; background: #85774A; } -h3 { color: white; background: #9D936E; } -h4 { color: white; background: #9D936E; } - -a { color: #BA6D36; } - -</style> -</head> -<body> -<a NAME="top" ID="top"></a> -<h1>Plugin_Checker_PyLint.PluginPyLint</h1> - -<p> -Module implementing the PyLint plug-in. -</p> -<h3>Global Attributes</h3> - -<table> -<tr><td>author</td></tr><tr><td>autoactivate</td></tr><tr><td>className</td></tr><tr><td>deactivateable</td></tr><tr><td>error</td></tr><tr><td>exePy3</td></tr><tr><td>longDescription</td></tr><tr><td>name</td></tr><tr><td>needsRestart</td></tr><tr><td>packageName</td></tr><tr><td>pyqtApi</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr> -</table> -<h3>Classes</h3> - -<table> - -<tr> -<td><a href="#PyLintPlugin">PyLintPlugin</a></td> -<td>Class implementing the PyLint plug-in.</td> -</tr> -</table> -<h3>Functions</h3> - -<table> - -<tr> -<td><a href="#__getProgramVersion">__getProgramVersion</a></td> -<td>Private method to generate a program entry.</td> -</tr> -<tr> -<td><a href="#_checkProgram">_checkProgram</a></td> -<td>Restricted function to check the availability of pylint.</td> -</tr> -<tr> -<td><a href="#_findExecutable">_findExecutable</a></td> -<td>Restricted function to determine the name and path of the executable.</td> -</tr> -<tr> -<td><a href="#exeDisplayDataList">exeDisplayDataList</a></td> -<td>Public method to support the display of some executable info.</td> -</tr> -<tr> -<td><a href="#getExePath">getExePath</a></td> -<td></td> -</tr> -</table> -<hr /> -<hr /> -<a NAME="PyLintPlugin" ID="PyLintPlugin"></a> -<h2>PyLintPlugin</h2> - -<p> - Class implementing the PyLint plug-in. -</p> -<h3>Derived from</h3> -QObject -<h3>Class Attributes</h3> - -<table> -<tr><td>None</td></tr> -</table> -<h3>Class Methods</h3> - -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> - -<table> - -<tr> -<td><a href="#PyLintPlugin.__init__">PyLintPlugin</a></td> -<td>Constructor</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__editorClosed">__editorClosed</a></td> -<td>Private slot called, when an editor was closed.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__editorOpened">__editorOpened</a></td> -<td>Private slot called, when a new editor was opened.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__editorPylint">__editorPylint</a></td> -<td>Private slot to handle the Pylint context menu action of the editors.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__editorShowMenu">__editorShowMenu</a></td> -<td>Private slot called, when the the editor context menu or a submenu is about to be shown.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__initialize">__initialize</a></td> -<td>Private slot to (re)initialize the plugin.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__loadTranslator">__loadTranslator</a></td> -<td>Private method to load the translation file.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__projectBrowserPylint">__projectBrowserPylint</a></td> -<td>Private method to handle the Pylint context menu action of the project sources browser.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__projectBrowserPylintShow">__projectBrowserPylintShow</a></td> -<td>Private slot to show the PyLint dialog with the results of the last run.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__projectBrowserShowMenu">__projectBrowserShowMenu</a></td> -<td>Private slot called, when the the project browser menu or a submenu is about to be shown.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__projectPylint">__projectPylint</a></td> -<td>Private slot used to check the project files with Pylint.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__projectPylintShow">__projectPylintShow</a></td> -<td>Private slot to show the PyLint dialog with the results of the last run.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__projectShowMenu">__projectShowMenu</a></td> -<td>Private slot called, when the the project menu or a submenu is about to be shown.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.__pyLint">__pyLint</a></td> -<td>Private method used to perform a PyLint run.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.activate">activate</a></td> -<td>Public method to activate this plugin.</td> -</tr> -<tr> -<td><a href="#PyLintPlugin.deactivate">deactivate</a></td> -<td>Public method to deactivate this plugin.</td> -</tr> -</table> -<h3>Static Methods</h3> - -<table> -<tr><td>None</td></tr> -</table> - -<a NAME="PyLintPlugin.__init__" ID="PyLintPlugin.__init__"></a> -<h4>PyLintPlugin (Constructor)</h4> -<b>PyLintPlugin</b>(<i>ui</i>) - -<p> - Constructor -</p> -<dl> - -<dt><i>ui</i></dt> -<dd> -reference to the user interface object (UI.UserInterface) -</dd> -</dl> -<a NAME="PyLintPlugin.__editorClosed" ID="PyLintPlugin.__editorClosed"></a> -<h4>PyLintPlugin.__editorClosed</h4> -<b>__editorClosed</b>(<i>editor</i>) - -<p> - Private slot called, when an editor was closed. -</p> -<dl> - -<dt><i>editor</i></dt> -<dd> -reference to the editor (QScintilla.Editor) -</dd> -</dl> -<a NAME="PyLintPlugin.__editorOpened" ID="PyLintPlugin.__editorOpened"></a> -<h4>PyLintPlugin.__editorOpened</h4> -<b>__editorOpened</b>(<i>editor</i>) - -<p> - Private slot called, when a new editor was opened. -</p> -<dl> - -<dt><i>editor</i></dt> -<dd> -reference to the new editor (QScintilla.Editor) -</dd> -</dl> -<a NAME="PyLintPlugin.__editorPylint" ID="PyLintPlugin.__editorPylint"></a> -<h4>PyLintPlugin.__editorPylint</h4> -<b>__editorPylint</b>(<i></i>) - -<p> - Private slot to handle the Pylint context menu action of the editors. -</p> -<a NAME="PyLintPlugin.__editorShowMenu" ID="PyLintPlugin.__editorShowMenu"></a> -<h4>PyLintPlugin.__editorShowMenu</h4> -<b>__editorShowMenu</b>(<i>menuName, menu, editor</i>) - -<p> - Private slot called, when the the editor context menu or a submenu is - about to be shown. -</p> -<dl> - -<dt><i>menuName</i></dt> -<dd> -name of the menu to be shown (string) -</dd> -<dt><i>menu</i></dt> -<dd> -reference to the menu (QMenu) -</dd> -<dt><i>editor</i></dt> -<dd> -reference to the editor (QScintilla.Editor) -</dd> -</dl> -<a NAME="PyLintPlugin.__initialize" ID="PyLintPlugin.__initialize"></a> -<h4>PyLintPlugin.__initialize</h4> -<b>__initialize</b>(<i></i>) - -<p> - Private slot to (re)initialize the plugin. -</p> -<a NAME="PyLintPlugin.__loadTranslator" ID="PyLintPlugin.__loadTranslator"></a> -<h4>PyLintPlugin.__loadTranslator</h4> -<b>__loadTranslator</b>(<i></i>) - -<p> - Private method to load the translation file. -</p> -<a NAME="PyLintPlugin.__projectBrowserPylint" ID="PyLintPlugin.__projectBrowserPylint"></a> -<h4>PyLintPlugin.__projectBrowserPylint</h4> -<b>__projectBrowserPylint</b>(<i></i>) - -<p> - Private method to handle the Pylint context menu action of the project - sources browser. -</p> -<a NAME="PyLintPlugin.__projectBrowserPylintShow" ID="PyLintPlugin.__projectBrowserPylintShow"></a> -<h4>PyLintPlugin.__projectBrowserPylintShow</h4> -<b>__projectBrowserPylintShow</b>(<i></i>) - -<p> - Private slot to show the PyLint dialog with the results of the last - run. -</p> -<a NAME="PyLintPlugin.__projectBrowserShowMenu" ID="PyLintPlugin.__projectBrowserShowMenu"></a> -<h4>PyLintPlugin.__projectBrowserShowMenu</h4> -<b>__projectBrowserShowMenu</b>(<i>menuName, menu</i>) - -<p> - Private slot called, when the the project browser menu or a submenu is - about to be shown. -</p> -<dl> - -<dt><i>menuName</i></dt> -<dd> -name of the menu to be shown (string) -</dd> -<dt><i>menu</i></dt> -<dd> -reference to the menu (QMenu) -</dd> -</dl> -<a NAME="PyLintPlugin.__projectPylint" ID="PyLintPlugin.__projectPylint"></a> -<h4>PyLintPlugin.__projectPylint</h4> -<b>__projectPylint</b>(<i></i>) - -<p> - Private slot used to check the project files with Pylint. -</p> -<a NAME="PyLintPlugin.__projectPylintShow" ID="PyLintPlugin.__projectPylintShow"></a> -<h4>PyLintPlugin.__projectPylintShow</h4> -<b>__projectPylintShow</b>(<i></i>) - -<p> - Private slot to show the PyLint dialog with the results of the last - run. -</p> -<a NAME="PyLintPlugin.__projectShowMenu" ID="PyLintPlugin.__projectShowMenu"></a> -<h4>PyLintPlugin.__projectShowMenu</h4> -<b>__projectShowMenu</b>(<i>menuName, menu</i>) - -<p> - Private slot called, when the the project menu or a submenu is - about to be shown. -</p> -<dl> - -<dt><i>menuName</i></dt> -<dd> -name of the menu to be shown (string) -</dd> -<dt><i>menu</i></dt> -<dd> -reference to the menu (QMenu) -</dd> -</dl> -<a NAME="PyLintPlugin.__pyLint" ID="PyLintPlugin.__pyLint"></a> -<h4>PyLintPlugin.__pyLint</h4> -<b>__pyLint</b>(<i>project, mpName, forProject, forEditor=False</i>) - -<p> - Private method used to perform a PyLint run. -</p> -<dl> - -<dt><i>project</i></dt> -<dd> -reference to the Project object -</dd> -<dt><i>mpName</i></dt> -<dd> -name of module or package to be checked (string) -</dd> -<dt><i>forProject</i></dt> -<dd> -flag indicating a run for the project (boolean) -</dd> -<dt><i>forEditor</i></dt> -<dd> -flag indicating a run for an editor (boolean) -</dd> -</dl> -<a NAME="PyLintPlugin.activate" ID="PyLintPlugin.activate"></a> -<h4>PyLintPlugin.activate</h4> -<b>activate</b>(<i></i>) - -<p> - Public method to activate this plugin. -</p> -<dl> -<dt>Return:</dt> -<dd> -tuple of None and activation status (boolean) -</dd> -</dl> -<a NAME="PyLintPlugin.deactivate" ID="PyLintPlugin.deactivate"></a> -<h4>PyLintPlugin.deactivate</h4> -<b>deactivate</b>(<i></i>) - -<p> - Public method to deactivate this plugin. -</p> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="__getProgramVersion" ID="__getProgramVersion"></a> -<h2>__getProgramVersion</h2> -<b>__getProgramVersion</b>(<i>exe</i>) - -<p> - Private method to generate a program entry. -</p> -<dl> - -<dt><i>exe</i></dt> -<dd> -name of the executable program (string) -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -version string of detected version (string) -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="_checkProgram" ID="_checkProgram"></a> -<h2>_checkProgram</h2> -<b>_checkProgram</b>(<i></i>) - -<p> - Restricted function to check the availability of pylint. -</p> -<dl> -<dt>Return:</dt> -<dd> -flag indicating availability (boolean) -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="_findExecutable" ID="_findExecutable"></a> -<h2>_findExecutable</h2> -<b>_findExecutable</b>(<i>majorVersion</i>) - -<p> - Restricted function to determine the name and path of the executable. -</p> -<dl> - -<dt><i>majorVersion</i></dt> -<dd> -major python version of the executables (int) -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -path name of the executable (string) -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="exeDisplayDataList" ID="exeDisplayDataList"></a> -<h2>exeDisplayDataList</h2> -<b>exeDisplayDataList</b>(<i></i>) - -<p> - Public method to support the display of some executable info. -</p> -<dl> -<dt>Return:</dt> -<dd> -dictionary containing the data to query the presence of - the executable -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="getExePath" ID="getExePath"></a> -<h2>getExePath</h2> -<b>getExePath</b>(<i>branch, access, versionStr</i>) - -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file