File indexing completed on 2025-01-05 05:20:15
0001 /* This file is part of the Kate project. 0002 * 0003 * SPDX-FileCopyrightText: 2017 Héctor Mesa Jiménez <hector@lcc.uma.es> 0004 * 0005 * SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #pragma once 0009 0010 #include "../kateprojectcodeanalysistool.h" 0011 0012 /** 0013 * Information provider for flake8 0014 */ 0015 class KateProjectCodeAnalysisToolFlake8 : public KateProjectCodeAnalysisTool 0016 { 0017 public: 0018 explicit KateProjectCodeAnalysisToolFlake8(QObject *parent = nullptr); 0019 0020 ~KateProjectCodeAnalysisToolFlake8() override; 0021 0022 QString name() const override; 0023 0024 QString description() const override; 0025 0026 QString fileExtensions() const override; 0027 0028 virtual QStringList filter(const QStringList &files) const override; 0029 0030 QString path() const override; 0031 0032 QStringList arguments() override; 0033 0034 QString notInstalledMessage() const override; 0035 0036 FileDiagnostics parseLine(const QString &line) const override; 0037 0038 QString stdinMessages() override; 0039 };