diff --git a/.sonarcloud.properties b/.sonarcloud.properties new file mode 100644 index 0000000000..fdc4ad17bb --- /dev/null +++ b/.sonarcloud.properties @@ -0,0 +1,7 @@ +sonar.sources = galaxy_ng +sonar.exclusions = galaxy_ng/tests/**/* + +sonar.tests = galaxy_ng/tests + +sonar.python.version = 3.11 + diff --git a/MANIFEST.in b/MANIFEST.in index 3c87f3369a..42bdb40fb9 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -23,4 +23,4 @@ include galaxy_ng/tests/integration/utils/gpg/collection_sign.sh include galaxy_ng/tests/integration/utils/gpg/qe-sign-priv.gpg include galaxy-operator/bin/readyz.py exclude .coveragerc -exclude sonar-project.properties +exclude .sonarcloud.properties diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index 372dc3e496..0000000000 --- a/sonar-project.properties +++ /dev/null @@ -1,23 +0,0 @@ -# Complete documentation with many more options at: -# https://docs.sonarqube.org/latest/analysis/analysis-parameters/ - -## The unique project identifier. This is mandatory. -# Do not duplicate or reuse! -# Available characters: [a-zA-Z0-9_:\.\-] -# Must have least one non-digit. -# Recommended format: : -sonar.projectKey = ansible_galaxy_ng -sonar.organization = ansible - -# Verbose name of project displayed in WUI. Default is set to the projectKey. This field is optional. -sonar.projectName = galaxy_ng -# Version of project. This field is optional. -#sonar.projectVersion = 1.0 - -sonar.sources = galaxy_ng -sonar.exclusions = galaxy_ng/tests/**/* - -sonar.tests = galaxy_ng/tests - -sonar.python.version = 3.9,3.10,3.11 -