forked from pbrod/numdifftools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonar-project.properties
43 lines (33 loc) · 1.45 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
# Required metadata
sonar.projectKey=numdifftools
sonar.projectName=Python :: Numdifftools
sonar.projectVersion=1.0
# Comma-separated paths to directories with sources (required)
sonar.sources=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://sonarqube.com
sonar.python.pylint=/usr/local/bin/pylint
sonar.python.pylint_config=.pylintrc
sonar.python.pylint.reportPath=pylint-report.txt
# Unit tests
sonar.python.xunit.reportPath=test-reports/*.xml
sonar.python.coverage.reportPath=coverage.xml
# Integration tests
sonar.python.coverage.itReportPath=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