-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonar-project.properties
41 lines (32 loc) · 1.26 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
31
32
33
34
35
36
37
38
39
40
41
# Project information
sonar.projectKey=linux-dotfiles
sonar.projectName=Linux Dotfiles
sonar.projectVersion=1.0
# # Source code configuration
# sonar.sources=src
# sonar.tests=tests
# # Python version and coverage settings
# sonar.python.version=3
# sonar.python.coverage.reportPaths=coverage.xml
# sonar.python.xunit.reportPath=test-reports/pytest-report.xml
# # Coverage thresholds and exclusions
# sonar.coverage.minimum=75
# sonar.coverage.exclusions=**/tests/**,**/test_*.py
# sonar.test.exclusions=**/tests/**
# # General exclusions
# sonar.exclusions=**/node_modules/**,**/*.pyc,**/__pycache__/**,**/migrations/**,**/alembic/**
# # Quality gate settings
# sonar.qualitygate.wait=true
# # Duplicate code detection
# sonar.cpd.exclusions=**/tests/**,**/migrations/**
# # Additional Python analysis settings
# sonar.python.pylint.reportPath=pylint-report.txt
# sonar.python.bandit.reportPaths=bandit-report.json
# sonar.python.flake8.reportPaths=flake8-report.txt
# # Code complexity settings
# sonar.python.complexity.function.threshold=15
# sonar.python.complexity.class.threshold=20
# # Documentation requirements
# sonar.python.docstring.requireDescription=true
# sonar.python.docstring.requireParamDescription=true
# sonar.python.docstring.requireReturnDescription=true