Skip to content

Instantly share code, notes, and snippets.

@marcostolosa
Created April 17, 2019 09:43
Show Gist options
  • Save marcostolosa/5834cb954350e5ebd902065c34aff55e to your computer and use it in GitHub Desktop.
Save marcostolosa/5834cb954350e5ebd902065c34aff55e to your computer and use it in GitHub Desktop.
Example of **/sonar-scanner/conf/sonar-scanner.properties**
#No information about specific project should appear here
#----- Default SonarQube server
sonar.host.url=http://localhost:9000
sonar.projectKey=
sonar.projectName=
sonar.projectVersion=1.0
sonar.sources=/home/<user>/Codes/blockchain-py
sonar.language=py
sonar.sourceEncoding=UTF-8
# Test Results
sonar.python.xunit.reportPath=nosetests.xml
# Coverage
sonar.python.coverage.reportPaths=coverage.xml
# Linter (https://docs.sonarqube.org/display/PLUG/Pylint+Report)
sonar.python.pylint=/usr/bin/pylint
sonar.python.pylint_config=.pylintrc
sonar.python.pylint.reportPath=pylint-report.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment