Skip to content

Commit 44ab9f5

Browse files
committed
Test defining more Sonar properties for better scanning
1 parent 8373af3 commit 44ab9f5

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

sonar-project.properties

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ sonar.projectName=HowLongToBeat-PythonAPI
55
sonar.projectVersion=1.0.17
66
sonar.python.version=3.9
77

8-
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
9-
# This property is optional if sonar.modules is set.
10-
sonar.sources=.
8+
# Define separate root directories for sources and tests
9+
sonar.sources=howlongtobeatpy/howlongtobeatpy/**
1110
sonar.exclusions=howlongtobeatpy/tests/**
1211

13-
# Encoding of the source code. Default is default system encoding
14-
#sonar.sourceEncoding=UTF-8
12+
sonar.tests=howlongtobeatpy/tests/**
13+
sonar.test.inclusions=howlongtobeatpy/tests/**
14+
15+
sonar.coverage.exclusions=**/codecov.yml,**/setup.py,**/__init__.py

0 commit comments

Comments
 (0)