Plugin_Checker_PyLint.PluginPyLint

Module implementing the PyLint plugin.

Classes

PyLintPlugin Class implementing the PyLint plugin.

Functions

exeDisplayData Public method to support the display of some executable info.


PyLintPlugin

Class implementing the PyLint plugin.

Derived from

QObject

Methods

PyLintPlugin Constructor
__initialize Private slot to (re)initialize the plugin.
__loadTranslator Private method to load the translation file.
__projectBrowserPylint Private method to handle the Pylint context menu action of the project sources browser.
__projectBrowserPylintShow Public slot to show the PyLint dialog with the results of the last run.
__projectBrowserShowMenu Private slot called, when the the project browser menu or a submenu is about to be shown.
__projectPylint Public slot used to check the project files with Pylint.
__projectPylintShow Public slot to show the PyLint dialog with the results of the last run.
__projectShowMenu Private slot called, when the the project menu or a submenu is about to be shown.
__pyLint Private method used to perform a PyLint run.
activate Public method to activate this plugin.
deactivate Public method to deactivate this plugin.

PyLintPlugin (Constructor)

PyLintPlugin(ui)

Constructor

ui
reference to the user interface object (UI.UserInterface)

PyLintPlugin.__initialize

__initialize()

Private slot to (re)initialize the plugin.

PyLintPlugin.__loadTranslator

__loadTranslator()

Private method to load the translation file.

PyLintPlugin.__projectBrowserPylint

__projectBrowserPylint()

Private method to handle the Pylint context menu action of the project sources browser.

PyLintPlugin.__projectBrowserPylintShow

__projectBrowserPylintShow()

Public slot to show the PyLint dialog with the results of the last run.

PyLintPlugin.__projectBrowserShowMenu

__projectBrowserShowMenu(menuName, menu)

Private slot called, when the the project browser menu or a submenu is about to be shown.

menuName
name of the menu to be shown (string)
menu
reference to the menu (QMenu)

PyLintPlugin.__projectPylint

__projectPylint()

Public slot used to check the project files with Pylint.

PyLintPlugin.__projectPylintShow

__projectPylintShow()

Public slot to show the PyLint dialog with the results of the last run.

PyLintPlugin.__projectShowMenu

__projectShowMenu(menuName, menu)

Private slot called, when the the project menu or a submenu is about to be shown.

menuName
name of the menu to be shown (string)
menu
reference to the menu (QMenu)

PyLintPlugin.__pyLint

__pyLint(project, mpName, forProject)

Private method used to perform a PyLint run.

project
reference to the Project object
mpName
name of module or package to be checked (string or QString)
forProject
flag indicating a run for the project (boolean)

PyLintPlugin.activate

activate()

Public method to activate this plugin.

Returns:
tuple of None and activation status (boolean)

PyLintPlugin.deactivate

deactivate()

Public method to deactivate this plugin.

Up


exeDisplayData

exeDisplayData()

Public method to support the display of some executable info.

Returns:
dictionary containing the data to query the presence of the executable
Up