Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
SonarQube: latest docker version
SonarQube CLI: 6.2
Python: 3.12.6 - how is SonarQube deployed: zip, Docker, Helm
Docker
The Sonar scanner detected a Parse error in one of the python files within my project, and reported it as such in the log messages:
20:32:45.006 DEBUG 'homeassistant/components/tellduslive/sensor.py' generated metadata with charset 'UTF-8'
20:32:45.010 DEBUG 'homeassistant/components/dlna_dmr/media_player.py' generated metadata with charset 'UTF-8'
20:32:45.014 DEBUG Unable to construct project-level symbol table for file: homeassistant/components/dlna_dmr/media_player.py
20:32:45.014 DEBUG Parse error at line 66 column 63:
59: PAUSED_RECORDING: MediaPlayerState.PAUSED,
60:
61: TransportState.VENDOR_DEFINED: None,
62: None: MediaPlayerState.ON,
63: }
64:
65:
--> def catch_request_errors[_DlnaDmrEntityT: DlnaDmrEntity, **_P, _R](
67: func: Callable[Concatenate[_DlnaDmrEntityT, _P], Awaitable[_R]],
68: ) -> Callable[Concatenate[_DlnaDmrEntityT, _P
20:32:45.014 DEBUG 'homeassistant/components/fully_kiosk/notify.py' generated metadata with charset 'UTF-8'
Can someone tell me how to fix it, Thx a lot.