Files
main/awesome-cursor-rules-mdc/python-projects-guide-cursorrules-prompt-file/python-ai-friendly-coding-practices-rule.mdc
T
2025-02-17 17:50:15 +05:30

8 lines
327 B
Plaintext

---
description: Promotes AI-friendly coding practices in Python files, including descriptive names, type hints, detailed comments, and rich error context.
globs: /**/*.py
---
- Use descriptive variable and function names
- Use type hints
- Provide detailed comments for complex logic
- Provide rich error context for debugging