Class Flake8Parser

  • All Implemented Interfaces:
    ViolationsParser

    public class Flake8Parser
    extends java.lang.Object
    implements ViolationsParser
    PyLint. Format used by Flake8.
    msg-template(pylint)='{path1}:{line2}: [{severity4}{code5}] {msg6}' msg-template(default)='{path1}:{line2}:{column7}: {severity8}{code9} {msg10}'
    • Constructor Summary

      Constructors 
      Constructor Description
      Flake8Parser()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<Violation> parseReportOutput​(java.lang.String string, ViolationsLogger violationsLogger)  
      SEVERITY toSeverity​(java.lang.String severity)
      The different message types are: (C) convention, for programming standard violation (R) refactor, for bad code smell (W) warning, for python specific problems (E) error, for much probably bugs in the code (F) fatal, if an error occured which prevented pylint from doing further processing.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Flake8Parser

        public Flake8Parser()
    • Method Detail

      • toSeverity

        public SEVERITY toSeverity​(java.lang.String severity)
         The different message types are:
         (C) convention, for programming standard violation
         (R) refactor, for bad code smell
         (W) warning, for python specific problems
         (E) error, for much probably bugs in the code
         (F) fatal, if an error occured which prevented pylint from doing
             further processing.