Files
operating-room-monitor-server/.gitignore
Kevin 1af442481e 重组为 backend/clients/docs 三层结构,并清理 git 污染。
将后端迁入 backend/,完善根目录 .gitignore,删除误提交的 .mypy_cache 缓存文件。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-21 16:02:25 +08:00

78 lines
1.3 KiB
Plaintext
Executable File

# =============================================================================
# Operation Room Monitor — root .gitignore
# =============================================================================
# --- OS ---
.DS_Store
.AppleDouble
.LSOverride
Thumbs.db
ehthumbs.db
Desktop.ini
# --- IDE / editors ---
.idea/
.vscode/
*.swp
*.swo
*~
.project
.classpath
.settings/
# --- Environment & secrets (all layers) ---
.env
.env.*
!.env.example
!**/.env.example
backend/.env
backend/.env.*
!backend/.env.example
# --- Python caches (never commit) ---
.mypy_cache/
**/.mypy_cache/
**/__pycache__/
**/*.py[cod]
**/*$py.class
**/.pytest_cache/
**/.mypy_cache/
**/.ruff_cache/
**/.pycache-verify/
**/build/
**/wheels/
**/*.egg-info/
**/.coverage
**/htmlcov/
**/.tox/
**/.nox/
**/dist/
!clients/voice-confirmation/scripts/
# Backend runtime & caches
backend/logs/
backend/Ultralytics/
# Large model weights (deploy via mount or offline delivery)
backend/app/resources/actionformer_epoch_045.pth.tar
# --- Clients ---
clients/demo-client/.runtime/
clients/demo-client/labels.json
clients/voice-confirmation/dist/
# --- Docker ---
**/.docker/
# --- Logs & temp ---
*.log
*.tmp
*.temp
.cache/
# --- Legacy / local-only at repo root (pre-restructure) ---
.venv/
logs/
Ultralytics/
scripts/