# Python
__pycache__/
*.pyc
*.pyo
*.pyd
.Python
.pytest_cache/
.mypy_cache/
.ruff_cache/
.coverage
htmlcov/

# Build artifacts
dist/
build/
*.egg-info/

# Virtual environment
.venv/
env/
ENV/

# IDE
.vscode/
.idea/
*.swp
*.swo
*~
*.code-workspace
pyrightconfig_strict.json

# AI tooling
CLAUDE.md
.claude/

# OS
.DS_Store
Thumbs.db

# Image editor project files
*.xcf

# FFmpeg temp
.video_temp/

# Logs
*.log

# ──────────────────────────────────────────────
# Theme & Web archives: .7z files ARE tracked.
# Extracted dirs are regenerated at runtime via on-demand download.
# ──────────────────────────────────────────────

# Extracted theme dirs (from theme*.7z archives)
src/trcc/data/theme*/Theme[1-5]/
src/trcc/data/theme*/Custom_*/
src/trcc/data/theme*/[0-9]*/
src/trcc/data/theme*/Theme.zt
src/trcc/data/theme*/Theme.dc
src/trcc/data/theme*/01.png

# Extracted Web dirs (from *.7z and zt*.7z archives)
src/trcc/data/web/[0-9]*/
src/trcc/data/web/zt*/[0-9]*/
src/trcc/data/web/**/*.mp4
src/trcc/data/web/**/*.png

# Keep all .7z archives tracked
!src/trcc/data/theme*.7z
!src/trcc/data/web/*.7z

# Runtime data
src/trcc/data/web_cache/
src/trcc/data/themes/
src/trcc/data/images/
src/trcc/data/settings.json
src/trcc/data/ui_*.json

# ──────────────────────────────────────────────
# Dev / reference files (not for distribution)
# ──────────────────────────────────────────────
# Block /dev/* per-file so the !-negations below can re-include
# the shared mock harness. (`/dev/` directory-level rule wouldn't
# allow re-include — git can't unignore a file under an ignored
# directory.)
/dev/*
# Mock harness IS shared tooling — every developer benefits from
# the same MockPlatform-backed CLI / API / GUI entry points.
!/dev/mock_cli.py
!/dev/mock_api.py
!/dev/mock_gui.py
!/dev/_mock_bootstrap.py
!/dev/_mock_daemon.py
!/dev/smoke_rotation_mask.py
!/dev/smoke_daemon_gui.py
!/dev/smoke_sleep_cycle.py
!/dev/smoke_linux.py
!/dev/smoke_windows.py
!/dev/smoke_macos.py
!/dev/smoke_bsd.py
!/dev/_smoke_runtime.py
/dev_*
# Dev scripts at root
/test_*.py
/probe_*.py
/*.sh
!install.sh

# Dev tooling
tools/

# Large binary docs
doc/*.pdf

# C# audit docs (reference only, not for distribution)
doc/audit/
