Skip to content

Missing submit button #57

Missing submit button

Missing submit button #57

Triggered via pull request November 16, 2023 19:27
Status Success
Total duration 20s
Artifacts

spell-check.yml

on: pull_request_target
spellcheck
10s
spellcheck
Fit to window
Zoom out
Zoom in

Annotations

5 errors
/home/runner/work/certification-tool-backend/certification-tool-backend/app/constants/websockets_constants.py#L24
# Enum Keys for different types of messages currently supported by the tool class MessageTypeEnum(str, Enum): PROMPT_REQUEST = "prompt_request" OPTIONS_REQUEST = "options_request" - MESSAGE_REQUEST = "message_request" + MESSAGE_REQUEST = "message_request" PROMPT_RESPONSE = "prompt_response" TEST_UPDATE = "test_update" TIME_OUT_NOTIFICATION = "time_out_notification" TEST_LOG_RECORDS = "test_log_records" INVALID_MESSAGE = "invalid_message"
/home/runner/work/certification-tool-backend/certification-tool-backend/app/user_prompt_support/user_prompt_manager.py#L56
if "options" in prompt_dict: if prompt_dict["options"]: message_type = MessageTypeEnum.OPTIONS_REQUEST else: message_type = MessageTypeEnum.MESSAGE_REQUEST - + message_dict = { MessageKeysEnum.TYPE: MessageTypeEnum.PROMPT_REQUEST, MessageKeysEnum.PAYLOAD: prompt_dict, } return message_dict
app/constants/websockets_constants.py#L29
Trailing whitespace (W291)
app/user_prompt_support/user_prompt_manager.py#L60
Local variable 'message_type' is assigned to but never used (F841)
app/user_prompt_support/user_prompt_manager.py#L61
Blank line contains whitespace (W293)