Pylint and QualityProfile

sonarqube

(Mathew George) #1

I have configured my sonar-project.properties with following Pylint properties
sonar.python.pylint=C:\Program Files\Python36\Scripts\pylint.exe
sonar.python.pylint_config=My.pylintrc
sonar.python.pylint.reportPath=pylint-report.txt

I have got my own pylintrc configuration and I am using the standard quality profile.
I generated pylint errors in the pylint-report.txt file,

Still the sonarqube analysis is not showing the pylint errors from the report.

Could you please let me know how to show the pylint errors from the report in the sonarqube.

Thanks in advance
Mathew George


(G Ann Campbell) #2

Hi,

What, if anything, does your analysis log say about this? Also, what’s your version of SonarPython?

 
Thx,
Ann