eric5.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleChecker
Module implementing the code style checker.
Global Attributes
Classes
Functions
CodeStyleCheckerPy2
Class implementing the code style checker interface for Python 2.
Derived from
object
Class Attributes
Class Methods
Methods
Static Methods
CodeStyleCheckerPy2 (Constructor)
CodeStyleCheckerPy2(filename, lines, repeat=False, select="", ignore="", max_line_length=79, hang_closing=False, docType="pep257")
Constructor
- filename
-
name of the file to check (string)
- lines
-
source of the file (list of strings) (ignored)
- repeat=
-
flag indicating to repeat message categories (boolean)
- select=
-
list of message IDs to check for
(comma separated string)
- ignore=
-
list of message IDs to ignore
(comma separated string)
- max_line_length=
-
maximum allowed line length (integer)
- hang_closing=
-
flag indicating to allow hanging closing
brackets (boolean)
- docType=
-
type of the documentation strings
(string, one of 'eric' or 'pep257')
- Raises AssertionError:
-
raised if the docType argument is not
"eric" or "pep257"