-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathsonar-project.properties
44 lines (34 loc) · 1.5 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
# Required metadata
sonar.projectKey=pbrod_numdifftools
sonar.organization=pbrod-github
sonar.projectName=numdifftools
sonar.projectVersion=1.0
# Comma-separated paths to directories with sources (required)
sonar.sources=src/numdifftools
# Language
sonar.language=py
# Encoding of the source files
sonar.sourceEncoding=UTF-8
sonar.links.homepage=https://github.com/pbrod/numdifftools
sonar.links.ci=https://travis-ci.org/pbrod/numdifftools
sonar.links.scm=https://github.com/pbrod/numdifftools
sonar.links.issue=https://github.com/pbrod/numdifftools/issues
# sonar.tests=numdifftools/tests
sonar.login=67bcbf1aefb992993fdd45b78fb4977a05be39b9
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
# TestCase methods (such as setUp and tearDown) in test files.
sonar.issue.ignore.multicriteria.e1.ruleKey=python:S100
sonar.issue.ignore.multicriteria.e1.resourceKey=numdifftools/tests/test*.py
sonar.issue.ignore.multicriteria.e2.ruleKey=python:S100
sonar.issue.ignore.multicriteria.e2.resourceKey=numdifftools/tests/integrationtests/**/test*.py