40 lines
1.3 KiB
Properties
40 lines
1.3 KiB
Properties
# 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: <group>:<project>
|
|
sonar.projectKey=ansible-collections_ansible.utils
|
|
|
|
sonar.organization=ansible-collections
|
|
|
|
# Customize what paths to scan. Default is .
|
|
sonar.sources=plugins
|
|
sonar.inclusions=plugins/**/*.py
|
|
|
|
# Verbose name of project displayed in WUI. Default is set to the projectKey. This field is optional.
|
|
sonar.projectName=ansible.utils
|
|
|
|
# Version of project. This field is optional.
|
|
#sonar.projectVersion=1.0
|
|
|
|
# Exclude manifests directory as these are pulled in programmatically, or are partial files to be applied via kustomize
|
|
# Exclude cli from scanning until we can add tests
|
|
sonar.exclusions=tests/**
|
|
|
|
# Define test directories
|
|
sonar.tests=tests/unit
|
|
sonar.test.inclusions=tests/unit/**
|
|
|
|
# Tell sonar scanner where coverage files exist
|
|
# Note: coverage.xml is created by pytest-cov in Code Coverage workflow
|
|
sonar.python.coverage.reportPaths=coverage.xml
|
|
|
|
# Python versions used in CI (matching coverage workflow)
|
|
sonar.python.version=3.12
|
|
|
|
# Ignore code dupe for the migrations
|
|
# sonar.cpd.exclusions=
|