Klasse PyLintDescriptions
java.lang.Object
edu.hm.hafner.analysis.parser.pylint.PyLintDescriptions
Provides descriptions for all pylint rules.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetDescription(String name) Returns the description of PyLint rule with the specified name.intsize()Returns the size of this messages cache.
-
Konstruktordetails
-
PyLintDescriptions
public PyLintDescriptions()Loads the available rules into a map.
-
-
Methodendetails
-
size
public int size()Returns the size of this messages cache.- Gibt zurück:
- the number of stored messages (English locale)
-
getDescription
Returns the description of PyLint rule with the specified name.- Parameter:
name- the name of the rule, like 'missing-docstring'- Gibt zurück:
- the description for the specified rule
-