From 5ec33c72ed841d0b745b399e97cdce1e7f6c8f50 Mon Sep 17 00:00:00 2001 From: Julien M Date: Fri, 29 Dec 2023 11:18:44 +0100 Subject: [PATCH] tooling: add SonarCloud configuration file --- sonar-project.properties | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 sonar-project.properties diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 00000000..54fdebd4 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,23 @@ +sonar.projectKey=Guts_qgis-deployment-cli + +# 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.10, 3.11, 3.12 + +# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. +sonar.sources=qgis_deployment_toolbelt + +# 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,doc/**