Klasse PyLintDescriptions

java.lang.Object
edu.hm.hafner.analysis.parser.pylint.PyLintDescriptions

public class PyLintDescriptions extends Object
Provides descriptions for all pylint rules.
  • 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

      public String getDescription(String name)
      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