All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.hm.hafner.analysis.registry.Flake8Descriptor Maven / Gradle / Ivy

Go to download

This library provides a Java object model to read, aggregate, filter, and query static analysis reports. It is used by Jenkins' warnings next generation plug-in to visualize the warnings of individual builds. Additionally, this library is used by a GitHub action to autograde student software projects based on a given set of metrics (unit tests, code and mutation coverage, static analysis warnings).

There is a newer version: 13.3.0
Show newest version
package edu.hm.hafner.analysis.registry;

import edu.hm.hafner.analysis.IssueParser;
import edu.hm.hafner.analysis.parser.violations.Flake8Adapter;

/**
 * A descriptor for Flake8.
 *
 * @author Lorenz Munsch
 */
class Flake8Descriptor extends ParserDescriptor {
    private static final String ID = "flake8";
    private static final String NAME = "Flake8";

    Flake8Descriptor() {
        super(ID, NAME);
    }

    @Override
    public IssueParser createParser(final Option... options) {
        return new Flake8Adapter();
    }

    @Override
    public String getHelp() {
        return "

Run flake8 as flake8 --format=pylint

"; } @Override public String getUrl() { return "https://flake8.pycqa.org/"; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy