-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathsonar-project.properties
More file actions
39 lines (29 loc) · 1.29 KB
/
sonar-project.properties
File metadata and controls
39 lines (29 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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=