-
Notifications
You must be signed in to change notification settings - Fork 49
/
sonar-project.properties
40 lines (30 loc) · 1.24 KB
/
sonar-project.properties
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
40
# Complete documentation with many more options at:
# https://docs.sonarqube.org/latest/analysis/analysis-parameters/
#sonar.host.url=https://sonarqube.corp.redhat.com
## 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_django-ansible-base
sonar.organization=ansible
# Customize what paths to scan. Default is .
sonar.sources=.
# Excluse test directories from sources
sonar.exclusions=test_app/**/*
# Set tests root directory
sonar.tests=test_app/tests
# Verbose name of project displayed in WUI. Default is set to the projectKey. This field is optional.
sonar.projectName=django-ansible-base
# Version of project. This field is optional.
#sonar.projectVersion=1.0
# Tell sonar scanner where coverage files exist
sonar.python.coverage.reportPaths=coverage.xml
sonar.issue.ignore.multicriteria=e1
# Ignore "should be a variable"
sonar.issue.ignore.multicriteria.e1.ruleKey=python:S1192
sonar.issue.ignore.multicriteria.e1.resourceKey=**/migrations/**/*
# Only scan with python3
sonar.python.version=3.9,3.10,3.11
# Ignore code dupe for the migrations
sonar.cpd.exclusions=**/migrations/*.py