# ============================================================
# Hockey control panel — files that must stay local/generated
# ============================================================

# Python bytecode / caches
__pycache__/
*.py[cod]
*$py.class
.pytest_cache/
.mypy_cache/
.pyright/
.ruff_cache/
.hypothesis/
.cache/

# Coverage / test reports
.coverage
.coverage.*
htmlcov/
coverage.xml
junit*.xml
test-results/

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

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

# Local secrets and environment files
.env
.env.*
!.env.example
!.env.sample

# Runtime settings. Do NOT ignore settings/ as a whole anymore:
# ui_builder_draft.json / ui_builder_published.json contain the operator UI,
# shortcuts, triggers, bottom-panel buttons and selectors and should be portable.
# Everything else under settings stays local unless explicitly allow-listed.
settings/*
!settings/README.md
!settings/ui_builder_draft.json
!settings/ui_builder_published.json
!settings/hockey_api.json
!settings/stat2tv_credentials.example.json

# Local secrets / machine-specific runtime settings (never commit).
settings/stat2tv_credentials.local.json
settings/editor_security.json
settings/backups/
settings/settings.json
settings/vmix_json.json
settings/vmix_functions.json

# Stat2TV / API diagnostic snapshots
hockey_data/snapshots/

# Logs and runtime temporary files
logs/
*.log
*.pid
*.tmp
*.temp
*.bak
*.old
*.swp
*.swo
*~

# Local exports / downloaded archives
exports/
downloads/
*.zip
*.rar
*.7z
*.tar
*.tar.gz

# Local database / database backup artifacts
*.sqlite
*.sqlite3
*.db
*.db-shm
*.db-wal
*.dump
*.backup

# Node/front-end dependency caches (if tooling is added later)
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# IDE / editor files
.vscode/
.idea/
*.code-workspace
*.suo
*.user
*.userosscache
*.sln.docstates

# OS generated files
.DS_Store
.AppleDouble
.LSOverride
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/

# Generated release notes from iterative update builds.
# Keep README.md and the permanent project documentation tracked.
BUILD[0-9]*.md
UPDATE_NO_USER_CONFIG.txt
