futurecoder icon indicating copy to clipboard operation
futurecoder copied to clipboard

Error handling, spots for docstrings and differentiating 'message' and 'messages' variables in question_wizard.py

Open Taehyun-Alex opened this issue 1 year ago • 0 comments

Enhancements for code clarity and consistency within the Python files

Details

  1. Error handling messages
  • SyntaxError in function, 'wrapped_callback' could use a detailed error message for better clarity image
  • ValueError in function input_callback could use a detailed error message for better clarity image
  1. Docstrings for Python codes
  • The functions throughout the Python files could use docstrings for a better understanding of the code.
  1. Variable naming consistency in question_wizard.py
  • In the question_wizard_check function, we have both 'messages' and 'message' as variables. Ensure consistency in variable names to avoid confusion.

Taehyun-Alex avatar Dec 08 '23 06:12 Taehyun-Alex