forked from Talentia-Software-OSS/github-action-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonar-project.properties
47 lines (32 loc) · 1.23 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
41
42
43
44
45
46
47
#### project-specific ####
# Required metadata
sonar.projectKey=Talentia-Software_oss-github-action-template
sonar.organization=talentia-software
# This is the name and version displayed in the SonarCloud UI.
sonar.projectName=oss-github-action-template
#sonar.projectVersion=1.0
# Comma-separated paths to directories with sources
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
sonar.sources=github_action_template/
# PEP8
sonar.python.flake8.reportPaths=flake8-report
# Pylint
sonar.pthon.pylint_config=pylintrc
#sonar.python.pylint.reportPaths=pylint-report.txt
# Unit tests
sonar.exclusions=**/test/**/*.py,**/tests/**/*.py
sonar.python.coverage.reportPaths=*coverage-*.xml
# End of project-specific
#### Sonarqube rules fine-tuning ####
# Disable some rules on some files
sonar.issue.ignore.multicriteria=S1720
# No need for Docstring on __init__.py files
sonar.issue.ignore.multicriteria.S1720.ruleKey=python:S1720
sonar.issue.ignore.multicriteria.S1720.resourceKey=**/__init__.py
# End of Sonarqube rules fine-tuning
#### generic Python config ####
# Language
sonar.language=py
# Encoding of the source code. Python should always be UTF-8.
sonar.sourceEncoding=UTF-8
# End of generic Python config