# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
pytest_cache/

# Translations
*.mo
*.pot

# Environments
.env
.env.*
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
.python-version

# Secrets and API keys - NEVER commit these
*.pem
*.key
secrets.json
credentials.json
.secrets
api_keys.txt
.anthropic
.openai

# IDE and editors
.idea/
.vscode/
*.swp
*.swo
*~
.project
.pydevproject
.settings/
*.sublime-project
*.sublime-workspace
.spyproject
.spyderproject

# Jupyter Notebook
.ipynb_checkpoints
*.ipynb

# macOS
.DS_Store
.AppleDouble
.LSOverride
._*

# Thumbnails
Icon?
._*

# Windows
Thumbs.db
ehthumbs.db
Desktop.ini

# Linux
*~

# Local configuration
local_settings.py
*.local.py
*.local.json
*.local.yaml

# Database files
*.db
*.sqlite
*.sqlite3

# Log files
*.log
logs/
log/

# Temporary files
tmp/
temp/
*.tmp
*.bak
*.swp

# Benchmark results (keep framework, not results)
.benchmarks/
benchmark_results.json
benchmark_results/

# DeepEval cache
.deepeval/

# Headroom specific
headroom.db
headroom_*.db
*.jsonl
!tests/fixtures/*.jsonl

# Documentation build
docs/_build/
site/

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Ruff
.ruff_cache/

# pyright
pyrightconfig.json

# Editor backup files
*~
\#*\#
.\#*
