# Python bytecode and caches
__pycache__/
*.py[cod]
*$py.class
*.so

# Virtual environments
.venv/
venv/
env/
ENV/
env1/

# Environment files and local secrets
!.env.example

# Test, coverage, and static-analysis output
.pytest_cache/
.mypy_cache/
.ruff_cache/
.pytype/
.pyre/
.coverage
.coverage.*
coverage.xml
htmlcov/
tests/

# Build and packaging output
build/
dist/
*.egg-info/
.eggs/
pip-wheel-metadata/

# Application runtime data
app/temp_uploads/*
storage_drive/
/storage/
uploads/
downloads/
temp/
tmp/
logs/
*.log

# Local ML and Hugging Face caches
.cache/
cache/
model_cache/
hub/
!app/modules/**/models/
!app/**/models/

# Local Docker/service data
.docker/
redis_data/
qdrant_data/
clamav_data/

# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*~

# OS files
.DS_Store
Thumbs.db
Desktop.ini
# Local rework environment — never commit
.env.rework
.env.rework_test
app/temp_uploads/*
!app/temp_uploads/.gitkeep
.env.rework_rls
.gitea/workflows/
.github/workflows/