Skip to content

Commit aa0b9da

Browse files
committed
✏️ Update the SonarQube configuration to set more details as a good template configuration.
1 parent bea70a8 commit aa0b9da

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

sonar-project.properties

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,30 @@ sonar.host.url=https://sonarcloud.io
22
sonar.projectKey=<your SonarCloud project key>
33
sonar.organization=<your organization>
44

5+
sonar.issues.defaultAssigneeLogin=Bryant
6+
57
# This is the name and version displayed in the SonarCloud UI.
68
sonar.projectName=<your repo name>
79
sonar.projectVersion=0.0.0
810

911
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
12+
sonar.projectBaseDir=./
1013
sonar.sources=src/
14+
sonar.tests=test/
1115

1216
# Python test coverage settings
17+
sonar.python.file.suffixes=.py
18+
sonar.python.version=3.12,3.13
1319
sonar.python.coverage.reportPaths=coverage*.xml
20+
#sonar.coverage.python.reportPaths=coverage*.xml
21+
22+
# Ignore by test coverage
23+
sonar.coverage.exclusions=src/types.py
24+
25+
# Ignore by general analyze
26+
# sonar.exclusions=**/migrations/**
27+
# Ignore some test files
28+
# sonar.test.exclusions=tests/helpers/**
1429

1530
# Encoding of the source code. Default is default system encoding
1631
sonar.sourceEncoding=UTF-8

0 commit comments

Comments
 (0)