-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsonar-project.properties
More file actions
26 lines (21 loc) · 956 Bytes
/
Copy pathsonar-project.properties
File metadata and controls
26 lines (21 loc) · 956 Bytes
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
# SonarCloud configuration.
#
# One-time setup on https://sonarcloud.io (free for public repos):
# 1. Log in with GitHub, import this repository.
# 2. Copy your Organization key + Project key into the two fields below.
# 3. In GitHub repo Settings -> Secrets -> Actions, add SONAR_TOKEN
# (SonarCloud -> My Account -> Security -> Generate token).
# The CI workflow (.github/workflows/sonarcloud.yaml) does the rest.
sonar.organization=REPLACE_WITH_SONARCLOUD_ORG
sonar.projectKey=REPLACE_WITH_PROJECT_KEY
sonar.projectName=kernel-ai
# What to analyse.
sonar.sources=kernel_ai,static/js
sonar.tests=tests
# Python coverage report produced by pytest-cov (see the CI workflow).
sonar.python.version=3.10, 3.11
sonar.python.coverage.reportPaths=coverage.xml
# Keep the analysis focused on our code.
sonar.exclusions=venv/**,mldata/**,**/*.min.js,static/js/**/vendor/**
sonar.coverage.exclusions=tests/**,static/js/**
sonar.sourceEncoding=UTF-8