Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pylint rule is unknown to sonar

I am trying to use sonarQube with eclipse and python. The quality profile was sonar way, and it had only 11 rules to start with. So i added the pylint rules and they are marked as activated. But when i run analyze on the project I don't get any more issues compared to before (when i used 11 rules). Then console looks something like this:

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
like image 340
user3783645 Avatar asked Oct 31 '22 21:10

user3783645


1 Answers

I'm getting this kind of warnings for every Pylint rule that is disabled in the current quality profile, so it seems that this is a feature, not a bug (SonarQube 5.1.1 + Python plugin 1.6-SNAPSHOT)

like image 91
alexandrul Avatar answered Nov 08 '22 05:11

alexandrul