From b4c5bd013796fd15ce179b6ba646a2173d191841 Mon Sep 17 00:00:00 2001 From: Diamantis Sellis Date: Fri, 3 Oct 2025 12:03:27 +0200 Subject: [PATCH] ci: scan source code for better quality --- sonar-project.properties | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 sonar-project.properties diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 000000000..7933e1a79 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,38 @@ +# CosmoTech template for SonarQube configuration v0.7.0 +# ----------------------------------------------------- + +# This file is used to configure the SonarQube scanner for a project. Rename it +# to sonar-project.properties and copy to the root of your project directory. +# https://github.com/Cosmo-Tech/sonarqube-scanner/blob/main/docs/sonar-project.properties.template + + +# Default project identification properties +# ----------------------------------------- +# These properties are hardcoded in the sonarqube-scanner as they are shared +# across all CosmoTech projects. Uncomment them only if you want to override +# and you know what you are doing. + +# sonar.projectKey=your-project-key # Unique identifier for your project +# sonar.projectName=Your Project Name # Display name for your project +# sonar.projectVersion=1.0.0 # Version of your project + +# Source code and testing configuration +# ----------------------------------- +# A file should either be in source or test directory, not both. By default +# everything is source +# Define source directories to analyze: +# sonar.sources=sonarqube_scanner +# Define test directories: +# sonar.tests=tests + +# Completely ignore files with the following patterns: +# sonar.exclusions=do_not_look_inside/** + +# Code duplication detection settings +# sonar.cpd.exclusions=embarassing_code/**,copy_pasted_scripts/** + +# Language-specific configurations +# ------------------------------ +# Python version(s) used in the project (comma-separated list of supported versions) +sonar.python.version=3.9,3.10,3.11,3.12,3.13 +