rename to deprecated

This commit is contained in:
sanjeed5
2025-03-03 23:40:27 +05:30
parent 7a6f5a704d
commit 7f71c5eaa4
882 changed files with 0 additions and 0 deletions
@@ -0,0 +1,5 @@
---
description: Specifies that Alembic should be used for managing database migrations, ensuring controlled schema evolution.
globs: **/migrations/**/*.*
---
- Use alembic for database migrations.
@@ -0,0 +1,16 @@
---
description: Defines the use of FastAPI and related libraries for building the application, guiding the architectural decisions in the 'app' directory.
globs: **/app/**/*.*
---
- Always use python 3.12
- Use FastAPI for building APIs.
- Frameworks:
- pydantic
- fastapi
- sqlalchemy
- You use fastapi-users for user management
- You use fastapi-jwt-auth for authentication
- You use fastapi-mail for email sending
- You use fastapi-cache for caching
- You use fastapi-limiter for rate limiting
- You use fastapi-pagination for pagination
@@ -0,0 +1,6 @@
---
description: Ensures the project uses Poetry for managing dependencies, promoting consistent and reproducible builds.
globs: **/pyproject.toml
---
- Use poetry for dependency management.
- Use UV when installing depdendencies.
@@ -0,0 +1,12 @@
---
description: Applies general Python coding best practices across all Python files in the project, focusing on code clarity, style, and maintainability.
globs: **/*.py
---
- Follow PEP 8 style guide for formatting.
- Use docstrings to document functions and classes.
- Write simple and clear code; avoid unnecessary complexity.
- Prefer list comprehensions for creating lists when appropriate.
- Use try-except blocks to handle exceptions gracefully.
- Utilize type hints for better code clarity and type checking.
- Limit the use of global variables to reduce side effects.
- Choose descriptive variable, function, and class names.
@@ -0,0 +1,5 @@
---
description: Enforces the implementation of unit tests to guarantee code reliability and maintainability, especially within the 'tests' directory.
globs: **/tests/**/*.*
---
- Implement unit tests to ensure code reliability.
@@ -0,0 +1,5 @@
---
description: Mandates the use of virtual environments for isolating project dependencies and ensuring reproducibility.
globs: **/*
---
- Isolate project dependencies using virtual environments (e.g., `venv`).