Skip to content

Commit 2ff7dd5

Browse files
committed
ci: adjust sonar-project.properties conf
Remove sources and tests confs and add pipelines folder to exclusions. Also the snapshot folder exclusion is redundant since they're inside a test folders. Refs: PT-2021
1 parent 8260e48 commit 2ff7dd5

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

sonar-project.properties

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
sonar.projectKey = City-of-Helsinki_kultus-api
2-
sonar.organization = city-of-helsinki
3-
sonar.python.version = 3.12
4-
sonar.python.coverage.reportPaths = coverage.xml
5-
sonar.sources = .
6-
sonar.exclusions = **/migrations/*,**/snapshots/*
7-
sonar.tests = .
8-
sonar.test.inclusions = **/tests/**/*
1+
sonar.projectKey=City-of-Helsinki_kultus-api
2+
sonar.organization=city-of-helsinki
3+
sonar.python.version=3.12
4+
sonar.python.coverage.reportPaths=coverage.xml
5+
sonar.exclusions=**/migrations/*,pipelines/**/*
6+
sonar.test.inclusions=**/tests/**/*
97

108
# Set up rule ignores (List of comma separated unique values, e.g. "e1,e2,e3"):
119
sonar.issue.ignore.multicriteria=e1,e2,e3,e4,e5,e6,e7

0 commit comments

Comments
 (0)