alexmojaki / alexmojaki/futurecoder

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

Đang mở
#446 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
1.5k
Fork
183
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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](https://github.com/alexmojaki/futurecoder/assets/139836037/e08deef5-e989-4a4c-aaff-288abc22a53d)
- ValueError in function input_callback could use a detailed error message for better clarity
![image](https://github.com/alexmojaki/futurecoder/assets/139836037/8e0bd7a5-f9dd-4747-ba31-9d86772f2c31)

2. **Docstrings for Python codes**
- The functions throughout the Python files could use docstrings for a better understanding of the code.

3. **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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.