-
Notifications
You must be signed in to change notification settings - Fork 598
Expand file tree
/
Copy pathsonar-code.properties
More file actions
60 lines (54 loc) · 1.17 KB
/
sonar-code.properties
File metadata and controls
60 lines (54 loc) · 1.17 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Project identification
sonar.projectKey=mcp-context-forge
sonar.projectName=ContextForge
sonar.projectVersion=1.0
# Source configuration
sonar.sources=mcpgateway,plugins
sonar.tests=tests
sonar.language=py
sonar.sourceEncoding=UTF-8
# Python configuration
sonar.python.version=3.11,3.12,3.13
sonar.python.coverage.reportPaths=coverage.xml
sonar.python.xunit.reportPath=junit.xml
# Exclusions - directories/files to skip during analysis
sonar.exclusions=\
**/.venv/**,\
**/__pycache__/**,\
**/node_modules/**,\
**/dist/**,\
**/build/**,\
**/*.egg-info/**,\
**/migrations/**,\
**/alembic/versions/**,\
**/.scannerwork/**,\
**/vendor/**,\
**/static/vendor/**,\
**/*.min.js,\
**/*.min.css,\
**/htmlcov/**,\
**/todo/**,\
**/.uv-cache/**,\
**/mcp-servers/**,\
**/charts/**,\
**/deployment/**,\
**/docs/**,\
**/*.md
# Test exclusions
sonar.test.exclusions=\
**/tests/**,\
**/test_*.py,\
**/*_test.py,\
**/conftest.py
# Coverage exclusions
sonar.coverage.exclusions=\
**/tests/**,\
**/test_*.py,\
**/*_test.py,\
**/conftest.py,\
**/alembic/**,\
**/__init__.py
# Duplication exclusions
sonar.cpd.exclusions=\
**/tests/**,\
**/alembic/**