Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit a84cefd

Browse files
author
Nick Sullivan
committed
📝 Update Python rules to be conditional and descriptive
Changed alwaysApply to false and added description to make the Python coding rules apply only when editing Python files, improving rule specificity and reducing unnecessary application to non-Python files.
1 parent 38edab1 commit a84cefd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.cursor/rules/python.mdc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
alwaysApply: true
2+
description: when editing python files
3+
alwaysApply: false
34
---
4-
55
## Python
66

77
- **Imports ALWAYS go to the top of the file - NEVER import within functions, unless it would

0 commit comments

Comments
 (0)