我正在尝试使用带有eclipse和python的sonarQube。 质量概况是声纳方式,它只有11个规则开始。所以我添加了pylint规则并将它们标记为已激活。但是,当我对项目进行分析时,与之前相比(当我使用11条规则时)我没有遇到任何问题。然后控制台看起来像这样:
16:38:49.091 INFO - Sensor org.sonar.plugins.python.pylint.PylintSensor@1603ae07...
16:38:50.079 WARN - Pylint rule 'C' is unknown in Sonar
16:38:50.079 WARN - Pylint rule 'C' is unknown in Sonar
16:38:50.079 WARN - Pylint rule 'C' is unknown in Sonar
16:38:50.079 WARN - Pylint rule 'C' is unknown in Sonar
16:38:50.079 WARN - Pylint rule 'C' is unknown in Sonar
16:38:50.079 WARN - Pylint rule 'C' is unknown in Sonar
16:38:50.079 WARN - Pylint rule 'C' is unknown in Sonar
16:38:50.079 WARN - Pylint rule 'C' is unknown in Sonar
答案 0 :(得分:2)
我正在为当前质量配置文件中禁用的每个Pylint规则收到此类警告,因此看起来这是一个功能,而不是bug(SonarQube 5.1.1 + Python插件1.6-SNAPSHOT)