eric5.Plugins.PluginPep8Checker

Module implementing the PEP 8 Checker plugin.

Global Attributes

author
autoactivate
className
deactivateable
error
longDescription
name
packageName
pyqtApi
shortDescription
version

Classes

Pep8CheckerPlugin Class implementing the PEP 8 Checker plugin.

Functions

None


Pep8CheckerPlugin

Class implementing the PEP 8 Checker plugin.

Derived from

QObject

Class Attributes

None

Class Methods

None

Methods

Pep8CheckerPlugin Constructor
__editorClosed Private slot called, when an editor was closed.
__editorOpened Private slot called, when a new editor was opened.
__editorPep8Check Private slot to handle the PEP 8 check context menu action of the editors.
__editorShowMenu Private slot called, when the the editor context menu or a submenu is about to be shown.
__initialize Private slot to (re)initialize the plugin.
__projectBrowserPep8Check Private method to handle the PEP 8 check context menu action of the project sources browser.
__projectBrowserShowMenu Private slot called, when the the project browser menu or a submenu is about to be shown.
__projectPep8Check Public slot used to check the project files for PEP 8 compliance.
__projectShowMenu Private slot called, when the the project menu or a submenu is about to be shown.
activate Public method to activate this plugin.
deactivate Public method to deactivate this plugin.

Static Methods

None

Pep8CheckerPlugin (Constructor)

Pep8CheckerPlugin(ui)

Constructor

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

Pep8CheckerPlugin.__editorClosed

__editorClosed(editor)

Private slot called, when an editor was closed.

editor
reference to the editor (QScintilla.Editor)

Pep8CheckerPlugin.__editorOpened

__editorOpened(editor)

Private slot called, when a new editor was opened.

editor
reference to the new editor (QScintilla.Editor)

Pep8CheckerPlugin.__editorPep8Check

__editorPep8Check()

Private slot to handle the PEP 8 check context menu action of the editors.

Pep8CheckerPlugin.__editorShowMenu

__editorShowMenu(menuName, menu, editor)

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

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

Pep8CheckerPlugin.__initialize

__initialize()

Private slot to (re)initialize the plugin.

Pep8CheckerPlugin.__projectBrowserPep8Check

__projectBrowserPep8Check()

Private method to handle the PEP 8 check context menu action of the project sources browser.

Pep8CheckerPlugin.__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)

Pep8CheckerPlugin.__projectPep8Check

__projectPep8Check()

Public slot used to check the project files for PEP 8 compliance.

Pep8CheckerPlugin.__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)

Pep8CheckerPlugin.activate

activate()

Public method to activate this plugin.

Returns:
tuple of None and activation status (boolean)

Pep8CheckerPlugin.deactivate

deactivate()

Public method to deactivate this plugin.

Up