rename folder

This commit is contained in:
sanjeed5
2025-02-27 00:04:07 +05:30
parent 519c3fa882
commit f7fa52c998
879 changed files with 0 additions and 0 deletions
@@ -0,0 +1,5 @@
---
description: Sets the project for asking for clarification when tasks are unclear.
globs: **/*.py
---
- Ask for clarification on unclear tasks.
@@ -0,0 +1,5 @@
---
description: Establish a professional and concise style for all AI communication and output.
globs: **/*.py
---
- Maintain a professional and concise communication tone.
@@ -0,0 +1,5 @@
---
description: Configure the behaviour for the handler of incomplete tasks.
globs: **/*.py
---
- Provide partial solution and explain limitations.
@@ -0,0 +1,5 @@
---
description: Specifies the setuptools build tool for the project
globs: **/setup.py
---
- Use setuptools build tool.
@@ -0,0 +1,5 @@
---
description: Specifies the pytest framework for all tests under the tests directory
globs: **/tests/**/*
---
- Use pytest testing framework.
@@ -0,0 +1,5 @@
---
description: Defines the desired verbosity level for the project's applications.
globs: **/*.py
---
- Set verbosity level to 2 (range: 0-3).
@@ -0,0 +1,7 @@
---
description: Defines architectural patterns and principles for Python projects, including modular design, Single Responsibility, and DRY.
globs: **/*.py
---
- Use modular design.
- Follow Single Responsibility Principle.
- Follow DRY (Don't Repeat Yourself) Principle.
@@ -0,0 +1,7 @@
---
description: Sets code formatting rules for Python projects using Black and Pylint and following PEP 8.
globs: **/*.py
---
- Use Black for code formatting.
- Use Pylint for linting.
- Follow PEP 8 and project-specific rules.
@@ -0,0 +1,7 @@
---
description: Specifies code review requirements for Python projects, including requiring reviews and using GitHub Pull Requests.
globs: **/*.py
---
- Require code reviews.
- Use GitHub Pull Requests for code reviews.
- Review for functionality, code quality, and security.
@@ -0,0 +1,7 @@
---
description: Defines configuration management practices for Python projects, including using .env files and python-dotenv.
globs: **/*.py
---
- Use .env files for configuration.
- Use python-dotenv for environment variable management.
- Manage secrets using environment variables.
@@ -0,0 +1,6 @@
---
description: Defines dependency management practices for Python projects, including using pip and Semantic Versioning.
globs: **/requirements.txt
---
- Use pip for package management.
- Use Semantic Versioning for dependency versioning.
@@ -0,0 +1,7 @@
---
description: Sets documentation requirements for Python code, including requiring docstrings and following the Google Python Style Guide.
globs: **/*.py
---
- Require documentation for all code.
- Use docstrings for documentation.
- Follow the Google Python Style Guide for documentation.
@@ -0,0 +1,6 @@
---
description: Defines Python error handling preferences, including using try-except blocks and logging errors.
globs: **/*.py
---
- Prefer using try-except blocks for error handling.
- Log errors appropriately.
@@ -0,0 +1,9 @@
---
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.
@@ -0,0 +1,7 @@
---
description: Configures logging practices for Python applications, including using the Python logging module and defining log levels.
globs: **/*.py
---
- Use the Python logging module for logging.
- Use log levels: debug, info, warn, error.
- Set a log retention policy of 7 days.
@@ -0,0 +1,7 @@
---
description: Specifies monitoring practices for Python applications, including monitoring file processing time, classification accuracy, and error rate.
globs: **/*.py
---
- Monitor file processing time.
- Monitor classification accuracy.
- Monitor error rate.
@@ -0,0 +1,9 @@
---
description: Applies Python naming conventions for variables, functions, classes, interfaces, and files.
globs: **/*.py
---
- Use snake_case for variables.
- Use snake_case for functions.
- Use PascalCase for classes.
- Use PascalCase for interfaces.
- Use snake_case for files.
@@ -0,0 +1,8 @@
---
description: Enforces security best practices for Python code, including requiring HTTPS, input sanitization, and using environment variables.
globs: **/*.py
---
- Require HTTPS for secure connections.
- Sanitize all inputs.
- Validate all inputs.
- Use environment variables for sensitive configuration.
@@ -0,0 +1,7 @@
---
description: Specifies requirements for testing Python code, including requiring tests, coverage targets, and test types.
globs: **/test_*.py
---
- Require tests for all code.
- Aim for 80% test coverage.
- Include unit and integration tests.
@@ -0,0 +1,7 @@
---
description: Outlines version control practices for Python projects, including using Git, GitHub Flow, and Conventional Commits.
globs: **/.git/**/*
---
- Use Git for version control.
- Follow the GitHub Flow branching strategy.
- Use Conventional Commits for commit messages.