【问题标题】:Is it possible to do static code analysis for python using SonarQube?是否可以使用 SonarQube 对 python 进行静态代码分析?
【发布时间】:2016-07-15 11:18:39
【问题描述】:

在构建项目之前,我需要检查我的 python 文件中的错误。这可能使用 SonarQube 吗?如果是,对 Python 执行哪些检查(语法、缩进、导入错误等)?

【问题讨论】:

    标签: python sonarqube syntax-error sonar-runner static-code-analysis


    【解决方案1】:

    SonarQube 分析器假定它们正在扫描可编译的代码。 Pylint 检查可用但默认关闭。有关内置规则的完整列表,请参阅SonarAnalyzer for Python rule report

    【讨论】:

      猜你喜欢
      • 2023-02-07
      • 2010-12-08
      • 2018-11-02
      • 2020-07-03
      • 2022-01-07
      • 1970-01-01
      • 2018-06-05
      • 2017-04-29
      • 2011-10-11
      相关资源
      最近更新 更多