Code cleanup #179
Annotations
18 errors
|
build (3.13)
Process completed with exit code 1.
|
|
Ruff (PLR0911):
src/vehicle_info.py#L109
src/vehicle_info.py:109:9: PLR0911 Too many return statements (10 > 6)
|
|
Ruff (PLR0911):
src/vehicle.py#L355
src/vehicle.py:355:9: PLR0911 Too many return statements (8 > 6)
|
|
Ruff (PLR0915):
src/status_publisher/charge/chrg_mgmt_data.py#L40
src/status_publisher/charge/chrg_mgmt_data.py:40:9: PLR0915 Too many statements (56 > 50)
|
|
Ruff (PLR0915):
src/integrations/home_assistant/discovery.py#L127
src/integrations/home_assistant/discovery.py:127:9: PLR0915 Too many statements (94 > 50)
|
|
Ruff (PLR0915):
src/handlers/vehicle.py#L270
src/handlers/vehicle.py:270:15: PLR0915 Too many statements (244 > 50)
|
|
Ruff (C901):
src/handlers/vehicle.py#L270
src/handlers/vehicle.py:270:15: C901 `handle_mqtt_command` is too complex (61 > 13)
|
|
Ruff (PLR0915):
src/configuration/parser.py#L55
src/configuration/parser.py:55:5: PLR0915 Too many statements (106 > 50)
|
|
Ruff (C901):
src/configuration/parser.py#L55
src/configuration/parser.py:55:5: C901 `process_arguments` is too complex (22 > 13)
|
|
build (3.12)
Process completed with exit code 1.
|
|
Ruff (PLR0911):
src/vehicle_info.py#L109
src/vehicle_info.py:109:9: PLR0911 Too many return statements (10 > 6)
|
|
Ruff (PLR0911):
src/vehicle.py#L355
src/vehicle.py:355:9: PLR0911 Too many return statements (8 > 6)
|
|
Ruff (PLR0915):
src/status_publisher/charge/chrg_mgmt_data.py#L40
src/status_publisher/charge/chrg_mgmt_data.py:40:9: PLR0915 Too many statements (56 > 50)
|
|
Ruff (PLR0915):
src/integrations/home_assistant/discovery.py#L127
src/integrations/home_assistant/discovery.py:127:9: PLR0915 Too many statements (94 > 50)
|
|
Ruff (PLR0915):
src/handlers/vehicle.py#L270
src/handlers/vehicle.py:270:15: PLR0915 Too many statements (244 > 50)
|
|
Ruff (C901):
src/handlers/vehicle.py#L270
src/handlers/vehicle.py:270:15: C901 `handle_mqtt_command` is too complex (61 > 13)
|
|
Ruff (PLR0915):
src/configuration/parser.py#L55
src/configuration/parser.py:55:5: PLR0915 Too many statements (106 > 50)
|
|
Ruff (C901):
src/configuration/parser.py#L55
src/configuration/parser.py:55:5: C901 `process_arguments` is too complex (22 > 13)
|