TCPDashboard/.cursor/rules/project.mdc

24 lines
627 B
Plaintext
Raw Normal View History

2025-05-29 23:04:08 +08:00
---
description:
globs:
alwaysApply: true
---
# Rule: Project specific rules
## Goal
Unify the project structure and interraction with tools and console
### System tools
- **ALWAYS** use UV for package management
- **ALWAYS** use windows PowerShell command for terminal
### Coding patterns
- **ALWYAS** check the arguments and methods before use to avoid errors with whron parameters or names
- If in doubt, check [CONTEXT.md](mdc:CONTEXT.md) file and [architecture.md](mdc:docs/architecture.md)
- **PREFER** ORM pattern for databases with SQLAclhemy.
2025-06-07 14:05:12 +08:00
### Testing
- Use UV for test in format *uv run pytest [filename]*
2025-05-29 23:04:08 +08:00