-
Notifications
You must be signed in to change notification settings - Fork 9
/
.sonarcloud.properties
22 lines (17 loc) · 1.04 KB
/
.sonarcloud.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# https://docs.sonarqube.org/latest/analysis/analysis-parameters/
sonar.projectKey=bcgov_wps
sonar.organization=bcgov-sonarcloud
sonar.host.url=https://sonarcloud.io
sonar.projectName=wps
sonar.verbose=true
sonar.python.file.suffixes=py
sonar.python.version=3.10
# Path is relative to the sonar-project.properties file. Defaults to .
sonar.sources=.
sonar.exclusions=**/Makefile, **/*.Dockerfile, api/app/data/**, api/alembic/versions/**, sfms/**, tileserv/alembic/**, tileserv/models/**
sonar.test.exclusions=*.feature
sonar.tests.inclusions=**/*.test.tsx
# Exclude duplication in fba tests due to many similar calculation numbers, ignore sample code as it's temporary, ignore sfms entrypoint, ignore util tests, ignore temporary fwi folder
sonar.cpd.exclusions=api/app/tests/fba_calc/*.py, api/app/weather_models/wind_direction_sample.py, web/src/features/moreCast2/util.test.ts, web/src/features/moreCast2/components/gridComponentRenderer.test.tsx, web/src/utils/fwi
# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=UTF-8