# ==============================================================================
# 操作系统与临时文件
# ==============================================================================
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
[Dd]esktop.ini
tmp/
temp/
.tmp/
.temp/
*.tmp
*.temp
scratch/
.scratch/
scratchpad/
.scratchpad/
sandbox/
.sandbox/

# ==============================================================================
# 编辑器与 IDE
# ==============================================================================
.idea/
.vscode/
*.sw[op]
*~
*.bak
*.sublime-project
*.sublime-workspace

# ==============================================================================
# 日志与环境凭证
# ==============================================================================
*.log
logs/
*.pid
*.seed
.env
.env.*
!.env.example

# ==============================================================================
# Python & uv 构建产物
# ==============================================================================
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
dist/
wheels/
*.egg-info/
.eggs/
env/
venv/
.venv/

# ==============================================================================
# 抓包、数据库与导出的网络会话临时文件
# ==============================================================================
*.pcap
*.pcapng
*.har
*.db
*.db-wal
*.db-shm
!tests/fixtures/*.pcap

# ==============================================================================
# 测试覆盖率与代码分析缓存 (Coverage & Linters)
# ==============================================================================
coverage/
*.lcov
.coverage
.coverage.*
htmlcov/
.pytest_cache/
.ruff_cache/
.mypy_cache/
