eric5.Utilities.py3flakes.messages
Global Attributes
Classes
Functions
DuplicateArgument
Class defining the "Duplicate Argument" message.
Derived from
Message
Class Attributes
Class Methods
Methods
Static Methods
DuplicateArgument (Constructor)
DuplicateArgument(filename, lineno, name)
Constructor
- filename
-
name of the file (string)
- lineno
-
line number (integer)
- name
-
name of the duplicate argument (string)
ImportShadowedByLoopVar
Class defining the "Import Shadowed By Loop Var" message.
Derived from
Message
Class Attributes
Class Methods
Methods
Static Methods
ImportShadowedByLoopVar (Constructor)
ImportShadowedByLoopVar(filename, lineno, name, orig_lineno)
Constructor
- filename
-
name of the file (string)
- lineno
-
line number (integer)
- name
-
name of the shadowed import (string)
- orig_lineno
-
line number of the import (integer)
ImportStarUsed
Class defining the "Import Star Used" message.
Derived from
Message
Class Attributes
Class Methods
Methods
Static Methods
ImportStarUsed (Constructor)
ImportStarUsed(filename, lineno, modname)
Constructor
- filename
-
name of the file (string)
- lineno
-
line number (integer)
- modname
-
name of the module imported using star import (string)
LateFutureImport
Class defining the "Late Future Import" message.
Derived from
Message
Class Attributes
Class Methods
Methods
Static Methods
LateFutureImport (Constructor)
LateFutureImport(filename, lineno, names)
Constructor
- filename
-
name of the file (string)
- lineno
-
line number (integer)
- names
-
names of the imported futures (string)
Message
Class defining the base for all specific message classes.
Derived from
object
Class Attributes
Class Methods
Methods
Message |
Constructor |
__str__ |
Special method return a string representation of the instance object. |
getMessageData |
Public method to get the individual message data elements. |
Static Methods
Message (Constructor)
Message(filename, lineno)
Constructor
- filename
-
name of the file (string)
- lineno
-
line number (integer)
Message.__str__
__str__()
Special method return a string representation of the instance object.
- Returns:
-
string representation of the object (string)
Message.getMessageData
getMessageData()
Public method to get the individual message data elements.
- Returns:
-
tuple containing file name, line number and message
(string, integer, string)
RedefinedFunction
Class defining the "Redefined Function" message.
Derived from
Message
Class Attributes
Class Methods
Methods
Static Methods
RedefinedFunction (Constructor)
RedefinedFunction(filename, lineno, name, orig_lineno)
Constructor
- filename
-
name of the file (string)
- lineno
-
line number (integer)
- name
-
name of the redefined function (string)
- orig_lineno
-
line number of the original definition (integer)
RedefinedWhileUnused
Class defining the "Redefined While Unused" message.
Derived from
Message
Class Attributes
Class Methods
Methods
Static Methods
RedefinedWhileUnused (Constructor)
RedefinedWhileUnused(filename, lineno, name, orig_lineno)
Constructor
- filename
-
name of the file (string)
- lineno
-
line number (integer)
- name
-
name of the redefined object (string)
- orig_lineno
-
line number of the original definition (integer)
UndefinedExport
Class defining the "Undefined Export" message.
Derived from
Message
Class Attributes
Class Methods
Methods
Static Methods
UndefinedExport (Constructor)
UndefinedExport(filename, lineno, name)
Constructor
- filename
-
name of the file (string)
- lineno
-
line number (integer)
- name
-
undefined exported name (string)
UndefinedLocal
Class defining the "Undefined Local Variable" message.
Derived from
Message
Class Attributes
Class Methods
Methods
Static Methods
UndefinedLocal (Constructor)
UndefinedLocal(filename, lineno, name, orig_lineno)
Constructor
- filename
-
name of the file (string)
- lineno
-
line number (integer)
- name
-
name of the prematurely referenced variable (string)
- orig_lineno
-
line number of the variable definition (integer)
UndefinedName
Class defining the "Undefined Name" message.
Derived from
Message
Class Attributes
Class Methods
Methods
Static Methods
UndefinedName (Constructor)
UndefinedName(filename, lineno, name)
Constructor
- filename
-
name of the file (string)
- lineno
-
line number (integer)
- name
-
undefined name (string)
UnusedImport
Class defining the "Unused Import" message.
Derived from
Message
Class Attributes
Class Methods
Methods
Static Methods
UnusedImport (Constructor)
UnusedImport(filename, lineno, name)
Constructor
- filename
-
name of the file (string)
- lineno
-
line number (integer)
- name
-
name of the unused import (string)
UnusedVariable
Class defining the "Unused Variable" message.
Indicates that a variable has been explicitly assigned to but not actually
used.
Derived from
Message
Class Attributes
Class Methods
Methods
Static Methods
UnusedVariable (Constructor)
UnusedVariable(filename, lineno, name)
Constructor
- filename
-
name of the file (string)
- lineno
-
line number (integer)
- name
-
name of the unused variable (string)