-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsonar-project.properties
More file actions
34 lines (27 loc) · 1.34 KB
/
Copy pathsonar-project.properties
File metadata and controls
34 lines (27 loc) · 1.34 KB
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
# sonarqube configuration for fmcrypto service
# for local sonarqube server:
sonar.host.url=http://localhost:9000
# for sonarcloud (uncomment and update organization):
# sonar.host.url=https://sonarcloud.io
sonar.organization=jagnd1
sonar.projectKey=jagnd1_fmcrypto
sonar.projectName=fmcrypto Service
sonar.projectVersion=1.0.0
# source code directories (exclude tests)
sonar.sources=crypto_service,pki_service,common
sonar.tests=testing
# exclude test files and non-source directories from analysis
sonar.exclusions=**/test_*.py,**/tests/**,**/*_test.py,**/test.py,testing/**,deployment/**,.github/**,**/.venv/**,**/htmlcov/**,**/.pytest_cache/**,**/__pycache__/**
# test execution and coverage (use python-specific format)
sonar.python.coverage.reportPaths=testing/coverage.xml
sonar.python.xunit.reportPath=testing/test-results.xml
# enable maximum verbosity for diagnostic
sonar.verbose=true
sonar.log.level=DEBUG
# language and encoding
sonar.sourceEncoding=UTF-8
sonar.python.version=3.13
# additional exclusions for docker and config files
sonar.exclusions+=**/Dockerfile*,**/docker-compose*.yml,**/.dockerignore,**/requirements.txt,**/healthcheck.sh,**/DEPLOYMENT.md,**/README.md,**/run.py,**/.venv/**,**/__pycache__/**
# coverage thresholds and exclusions (exclude only test files)
sonar.coverage.exclusions=**/test_*.py,**/tests/**,**/*_test.py,**/test.py