# ─────────────────────────────────────────────────────────────────────────────
# Virtual envs, Python caches, test/cache output
# ─────────────────────────────────────────────────────────────────────────────
/.venv/
.venv/
venv/
env/

__pycache__/
*.py[cod]
*$py.class

.mypy_cache/
.ruff_cache/
.pytest_cache/
.coverage
coverage.xml
htmlcov/
pip-wheel-metadata/

# ─────────────────────────────────────────────────────────────────────────────
# Build outputs / package artifacts
# ─────────────────────────────────────────────────────────────────────────────
/dist/
/build/
*.egg-info/
.eggs/
*.whl
*.tar.gz

# ─────────────────────────────────────────────────────────────────────────────
# OS / editor
# ─────────────────────────────────────────────────────────────────────────────
.DS_Store
Thumbs.db
.idea/
.vscode/
*.swp
*.swo

# ─────────────────────────────────────────────────────────────────────────────
# Lockfiles
# ─────────────────────────────────────────────────────────────────────────────
# For a library, usually do NOT ignore lockfiles unless you intentionally do not
# want to commit them.
# uv.lock
# poetry.lock
# Pipfile.lock

# ─────────────────────────────────────────────────────────────────────────────
# Local databases / runtime storage
# ─────────────────────────────────────────────────────────────────────────────
*.db
*.sqlite
*.sqlite3
*.duckdb
*.mdb
*.accdb
*.rdb
*.realm
*.logdb
*.leveldb/

/db/
/data/db/
/.db/

# ─────────────────────────────────────────────────────────────────────────────
# Runtime logs / local server output
# ─────────────────────────────────────────────────────────────────────────────
/statline/log/
*.log
*.pid

# ─────────────────────────────────────────────────────────────────────────────
# Runtime dumps / temp files
# ─────────────────────────────────────────────────────────────────────────────
*.tmp
*.bak
*.dump
*.dmp
*.trace
*.stackdump

# ─────────────────────────────────────────────────────────────────────────────
# Secrets / local config / tokens / API keys
# ─────────────────────────────────────────────────────────────────────────────

# Project-specific secrets
/statline/.keys.json
/statline/secrets/
pypi.ini

# Secrets folders
**/secrets/
**/secret/
**/.secrets/
**/.secret/
**/private/
**/.private/

# Environment / local config files
.env
.env.*
*.env
*.dotenv
config.local.*
settings.local.*
*.local.json
*.local.yaml
*.local.yml
*.local.toml
*.local.ini

# Key / certificate / auth material
*.pem
*.key
*.crt
*.cer
*.p12
*.pfx
*.jks
*.keystore
*.der

# Explicit secret-like files
**/.keys.json
**/*secrets*.json
**/*secrets*.toml
**/*secrets*.yaml
**/*secrets*.yml
**/*secrets*.ini
**/*credentials*.json
**/*credentials*.toml
**/*credentials*.yaml
**/*credentials*.yml
**/*credentials*.ini
**/*creds*.json
**/*creds*.toml
**/*creds*.yaml
**/*creds*.yml
**/*token*.json
**/*token*.toml
**/*token*.yaml
**/*token*.yml
**/*token*.ini
**/*apikey*.json
**/*api_key*.json
**/*api-key*.json
**/*registration*.json
**/*regkey*.json
**/*reg_key*.json
**/*enroll*.json
**/*device_key*.json
**/*devicekey*.json
**/*devkey*.json
**/*dev_key*.json

# ─────────────────────────────────────────────────────────────────────────────
# Local visual history / repo export artifacts
# ─────────────────────────────────────────────────────────────────────────────
/repo-visual-archive/
/repo-visual-archive.zip
/export-visual-history.ps1
/scripts/export-visual-history.sh