-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonar-project.properties
48 lines (37 loc) · 1.63 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
48
# Required metadata
sonar.projectKey=meaningfy-ws_mapping-workbench
sonar.organization=meaningfy-ws
sonar.projectName=mapping-workbench
sonar.projectVersion=0.0.1
# Comma-separated paths to directories with sources (required)
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
sonar.sources=mapping_workbench
# Language
sonar.language=py
sonar.python.version=3.7, 3.8, 3.9, 3.10
sonar.python.coverage.reportPaths=coverage.xml
sonar.working.directory=/github/.scannerwork
# Encoding of the source files
sonar.sourceEncoding=UTF-8
sonar.links.homepage=https://github.com/meaningfy-ws/mapping-workbench
# sonar.links.ci=https://travis-ci.org/pbrod/numdifftools
sonar.links.scm=https://github.com/meaningfy-ws/mapping-workbench
sonar.links.issue=https://github.com/meaningfy-ws/mapping-workbench/issues
sonar.tests=tests
# sonar.host.url=https://sonarcloud.io
sonar.python.pylint=/usr/local/bin/pylint
sonar.python.pylint_config=.pylintrc
sonar.python.pylint.reportPaths=pylint-report.txt
# Unit tests
# sonar.python.xunit.reportPath=test-reports/*.xml
# sonar.python.coverage.reportPaths=coverage-reports/*.xml
# Integration tests
# sonar.python.coverage.itReportPaths=it-coverage.xml
# Turn off these rules
sonar.issue.ignore.multicriteria=e1,e2
# python:s100: "Method names should comply with a naming convention" gives many false positives when overriding
sonar.issue.ignore.multicriteria.e1.ruleKey=python:S100
sonar.issue.ignore.multicriteria.e1.resourceKey=tests/**/*.py
sonar.issue.ignore.multicriteria.e2.ruleKey=python:S100
sonar.issue.ignore.multicriteria.e2.resourceKey=tests/**/*.py
sonar.exclusions=docs/**/*