恢复所有项目文件

This commit is contained in:
2026-04-26 22:56:26 +08:00
parent 96085e3304
commit a1e0f9a501
47 changed files with 149605 additions and 0 deletions

76
source/.gitignore vendored Normal file
View File

@@ -0,0 +1,76 @@
# 1. 忽略操作系统自动生成的文件
.DS_Store
Thumbs.db
*.lnk
# 2. 忽略编译/构建产物
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# 3. 忽略IDE配置
.vscode/
.idea/
*.swp
*.swo
*~
# 4. 忽略日志文件
*.log
*.tmp
*.temp
*.md
*.*
# 5. 忽略敏感数据
*.env
*.key
*.pem
*.cert
config.yaml
secrets/
# 6. 忽略大型媒体文件
*.mp4
*.mov
*.avi
*.wav
*.mp3
*.zip
*.tar
*.gz
*.7z
*.rar
# 7. 忽略数据分析/机器学习特有
*.model
*.h5
*.pkl
*.joblib
.ipynb_checkpoints/
# 8. 忽略你项目中的自动生成目录
# 根据你的目录结构忽略source/output/和source/reports/下的所有文件
# 但保留目录结构本身(可以添加空的.gitkeep文件来保持空目录
source/output/**/*
!source/output/.gitkeep
source/reports/**/*
!source/reports/.gitkeep