davidleathers113 indexforge .cursorrules file for Python

{
    "projectType": "python",
    "language": {
        "python": {
            "version": "3.11",
            "style": {
                "formatter": "black",
                "lineLength": 100,
                "sortImports": "isort",
                "linters": ["ruff", "mypy"],
                "docstringFormat": "google"
            }
        }
    },
    "framework": {
        "fastapi": {
            "autoImports": true,
            "routeConventions": {
                "prefix": "/api/v1",
                "paramCase": true
            },
            "responseValidation": true,
            "openApiGeneration": true
        }
    },
    "testing": {
        "framework": "pytest",
        "conventions": {
            "testFilePattern": "test_*.py",
            "testLocation": "tests/",
            "coverageThreshold": 80
        },
        "features": {
            "generateTests": true,
            "asyncSupport": true,
            "parallelExecution": true
        }
    },
    "documentation": {
        "generator": "mkdocs",
        "theme": "material",
        "features": {
            "autoGenerateApiDocs": true,
            "includeTypes": true,
            "validateDocstrings": true,
            "swaggerUi": true
        }
    },
    "ml": {
        "frameworks": ["torch", "transformers"],
        "dataProcessing": ["pandas", "numpy"],
        "features": {
            "vectorization": true,
            "gpuAcceleration": true,
            "batchProcessing": true
        }
    },
    "codeGeneration": {
        "imports": {
            "autoImport": true,
            "organizeImports": true,
            "removeUnused": true
        },
        "typing": {
            "strict": true,
            "generateAnnotations": true,
            "validateTypes": true
        },
        "errorHandling": {
            "generateTryCatch": true,
            "customExceptions": true
        },
        "logging": {
            "suggestLogging": true,
            "structuredLogs": true
        }
    },
    "security": {
        "secretDetection": true,
        "envVariables": true,
        "inputValidation": true,
        "dependencyAuditing": true
    },
    "performance": {
        "suggestOptimizations": true,
        "asyncAwaitUsage": true,
        "memoryManagement": true
    },
    "ide": {
        "formatOnSave": true,
        "lintOnSave": true,
        "showInlineErrors": true,
        "autoComplete": true,
        "snippets": true
    }
}
dockerfile
fastapi
golang
jinja
ocaml
plpgsql
python

First Time Repository

Python

Languages:

Dockerfile: 4.6KB
Jinja: 85.8KB
OCaml: 2.1KB
PLpgSQL: 1.6KB
Python: 1761.1KB
Created: 1/6/2025
Updated: 1/11/2025

All Repositories (1)