# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
/lib/
/lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# Virtual Environment
.venv/
venv/
ENV/

# IDEs
.vscode/
.idea/

# Backend specifically
backend/.env
backend/.env.test
backend/.venv/
backend/__pycache__/
backend/*.pyc

# Preference folder (development/temporary)
preference/
preferences/

# Development/Test folders
backend/hehe/
backend/test/
backend/scripts/

# Scratch / temp scripts (never commit these)
scratch/
backend/temp_*.py
backend/test_*.py
!backend/tests/

# Data dumps
backend/*.txt
!backend/requirements.txt
backend/schema_dump.json
backend/data/*.json
backend/logs/*.txt

# One-off scripts
backend/migrate_db.py

# Logs
*.log

# OS
.DS_Store
Thumbs.db

# Misc
.ruff_cache/
.pyscn/
.mypy_cache/
.pytest_cache/

# SQLite local mock DB
*.sqlite
*.sqlite-journal
*.db
*.db-shm
*.db-wal

# Node
node_modules/
.worktrees/
.codegraph/

# Playwright and workspaces
.playwright-mcp/
backend/.playwright-mcp/
workspaces/
backend/workspaces/
*.png
*.tsbuildinfo
backend/data/.encryption_salt
*.encryption_salt
output/