forked from tomaae/homeassistant-mikrotik_router
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsonar-project.properties
More file actions
38 lines (35 loc) · 1.8 KB
/
sonar-project.properties
File metadata and controls
38 lines (35 loc) · 1.8 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
sonar.organization=jnctech
sonar.projectKey=jnctech_homeassistant-mikrotik_router
sonar.sources=custom_components
sonar.tests=tests
sonar.python.version=3.13
sonar.python.coverage.reportPaths=coverage.xml
# Exclude HA platform wiring files (require a running HA instance — not unit testable)
# and pure data descriptor files (no executable logic to measure).
sonar.coverage.exclusions=\
custom_components/mikrotik_router/__init__.py,\
custom_components/mikrotik_router/config_flow.py,\
custom_components/mikrotik_router/diagnostics.py,\
custom_components/mikrotik_router/binary_sensor.py,\
custom_components/mikrotik_router/sensor.py,\
custom_components/mikrotik_router/switch.py,\
custom_components/mikrotik_router/device_tracker.py,\
custom_components/mikrotik_router/button.py,\
custom_components/mikrotik_router/update.py,\
custom_components/mikrotik_router/binary_sensor_types.py,\
custom_components/mikrotik_router/sensor_types.py,\
custom_components/mikrotik_router/switch_types.py,\
custom_components/mikrotik_router/button_types.py,\
custom_components/mikrotik_router/device_tracker_types.py,\
custom_components/mikrotik_router/update_types.py,\
custom_components/mikrotik_router/iface_attributes.py,\
custom_components/mikrotik_router/const.py,\
custom_components/mikrotik_router/exceptions.py
# sensor_types.py and coordinator.py contain intentional structural repetition:
# - sensor_types.py: repeated sensor descriptor blocks per interface/hardware type
# - coordinator.py: same host-processing pattern repeated per data source (capsman/wireless/dhcp/arp)
# tests/ excluded: test files inherently repeat assertion patterns across test functions
sonar.cpd.exclusions=\
custom_components/mikrotik_router/sensor_types.py,\
custom_components/mikrotik_router/coordinator.py,\
tests/**