# Copyright (c) 2025 Marco Pancotti
# This file is part of ThothAI and is released under the Apache 2.0.

# === Environment Files ===
.env
.env.local
.env.production
.env.development
.env.*.local
!.env.template

# === Test Output Directory ===
cs_test/

# === Python ===
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
# Python lib directories only (not frontend/lib)
/lib/
/lib64/
backend/lib/
backend/lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
.venv/
venv/
ENV/
env/
.pytest_cache/
.coverage
htmlcov/
.tox/
.hypothesis/
*.cover
.cache
nosetests.xml
coverage.xml
*.log

# === Node.js ===
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
.npm
.yarn-integrity
.next/
out/
dist/
.cache/
.parcel-cache/
.nuxt/
.vuepress/dist
.serverless/
.fusebox/
.dynamodb/
.tern-port
.env.production.local
.env.development.local
.env.test.local
.vercel

# === Django ===
*.sqlite3
*.sqlite3-journal
db.sqlite3
db.sqlite3-journal
media/
staticfiles/
local_settings.py

# === IDEs ===
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
Thumbs.db
desktop.ini
.directory

# === Docker ===
docker-compose.override.yml
.docker/

# === Application Specific ===
# Shared data directories (bind mounts)
data_exchange/
exports/*
!exports/.gitkeep
qdrant_storage/
postgres_data/
.pypi-token

# Service-specific logs (not shared)
backend/logs/
!backend/logs/.gitkeep
frontend/logs/
!frontend/logs/.gitkeep
frontend/sql_generator/logs/

# === Configuration Files ===
config.yml.local
*.local
pyproject.toml.local
pyproject.toml.merged
.env.docker
.admin_password.hash

# === Backups ===
*.backup
*.bak
*.old
*.orig
*_backup*
*_old*

# === Testing ===
test-results/
playwright-report/
playwright/.cache/
cypress/videos/
cypress/screenshots/

# Backend test reports
backend/tests/reports/
!backend/tests/reports/.gitkeep

# === Build Artifacts ===
*.pyc
*.pyo
*.pyd
.Python
pip-log.txt
pip-delete-this-directory.txt
.webassets-cache

# === OS Files ===
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# === Temporary Files ===
*.tmp
*.temp
*.log
*.pid
*.seed
*.pid.lock

.mcp.json
video_scripts/
informix_and_olimpx/