-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #148 from geotribu/tooling/add-sonarcloud-config-a…
…nd-badge tooling: add SonarCloud config and badge
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
sonar.projectKey=geotribu_qtribu | ||
|
||
# Because Community Edition doesn't support multiple branches, | ||
# you should only analyze your main branch. | ||
# You can restrict analysis to your main branch by adding the branch name to the only parameter. | ||
# only=main | ||
|
||
# Python versions | ||
sonar.python.version=3.9, 3.10, 3.11, 3.12 | ||
|
||
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. | ||
sonar.sources=qtribu | ||
sonar.inclusions=qtribu/** | ||
sonar.tests = tests/ | ||
|
||
# Encoding of the source code. Default is default system encoding | ||
sonar.sourceEncoding=UTF-8 | ||
|
||
# Python configuration | ||
sonar.language=python3 | ||
sonar.python.file.suffixes=py | ||
sonar.python.coverage.reportPaths=coverage.xml | ||
sonar.python.xunit.reportPath=junit/test-results.xml | ||
sonar.coverage.exclusions=**__init__**,tests/**,*.py,docs/** | ||
sonar.exclusions=*.xml,docs/**, tests/** |