Files
main/awesome-cursor-rules-mdc/python-github-setup-cursorrules-prompt-file/python-general-coding-style.mdc
T
2025-02-17 17:50:15 +05:30

9 lines
322 B
Plaintext

---
description: Enforces general Python coding style guidelines including indentation, line length, and commenting style.
globs: **/*.py
---
- Use strict mode.
- Indent using 4 spaces.
- Limit line length to 120 characters.
- Use # for single-line comments and ''' for multi-line comments.
- Require comments in the code.