Class PyLintDescriptions
java.lang.Object
edu.hm.hafner.analysis.parser.pylint.PyLintDescriptions
Provides descriptions for all pylint rules.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDescription(String name) Returns the description of PyLint rule with the specified name.intsize()Returns the size of this messages cache.
-
Constructor Details
-
PyLintDescriptions
public PyLintDescriptions()Loads the available rules into a map.
-
-
Method Details
-
size
public int size()Returns the size of this messages cache.- Returns:
- the number of stored messages (English locale)
-
getDescription
Returns the description of PyLint rule with the specified name.- Parameters:
name- the name of the rule, like 'missing-docstring'- Returns:
- the description for the specified rule
-