Files
main/rules-v0/python-github-setup-cursorrules-prompt-file/python-general-coding-style.mdc
2025-02-27 00:04:07 +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.