-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonar-project.properties
31 lines (24 loc) · 1.19 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
# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0
sonar.projectKey=PowerGridModel_power-grid-model-io-native
sonar.organization=powergridmodel
# This is the name and version displayed in the SonarCloud UI.
sonar.projectName=power-grid-model-io-native
sonar.projectVersion=1.0
# include C++ and Python source file
# since the C++ part is header only, also include the C++ unit test .cpp file
sonar.sources=src,tests/c_api_tests,power_grid_model_io_native_c
sonar.tests=tests/unit
sonar.sourceEncoding=UTF-8
# exclude C++ unit test .cpp file (with doctest.h)
sonar.issue.ignore.allfile=a1
sonar.issue.ignore.allfile.a1.fileRegexp='.*#include.*doctest\.h[>"].*'
sonar.coverage.exclusions="tests/**/*"
sonar.coverage.exclusions=power_grid_model_io_native_c/power_grid_model_io_native/include/power_grid_model_io_native/vnf_converter/vnf_pgm_converter.hpp,power_grid_model_io_native_c/power_grid_model_io_native_c/src/vnf_pgm_converter.cpp
sonar.cpd.exclusions="tests/**/*"
sonar.cfamily.threads=1
sonar.coverageReportPaths=cpp_coverage.xml
# python
sonar.python.version=3
sonar.python.coverage.reportPaths=python_coverage.xml