refactor: 清理不需要的代码文件,添加.gitignore,优化项目结构

This commit is contained in:
赵杰 Jie Zhao (雄狮汽车科技)
2025-09-16 17:05:50 +01:00
parent 9451945e08
commit 9ca36042e3
65 changed files with 3370 additions and 10809 deletions

107
.gitignore vendored Normal file
View File

@@ -0,0 +1,107 @@
# Python缓存文件
__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
# PyInstaller
*.manifest
*.spec
# 单元测试/覆盖率报告
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/
# 环境变量
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# IDE文件
.vscode/
.idea/
*.swp
*.swo
*~
# 操作系统文件
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# 日志文件
*.log
logs/
# 数据库文件(开发环境)
*.db
*.sqlite
*.sqlite3
# 备份文件
backups/
*.backup
*.bak
# 临时文件
*.tmp
*.temp
temp/
tmp/
# 部署相关
deploy_config.json
dev_deploy/
# 测试文件
test_*.py
*_test.py
test_sample.txt
# 文档草稿
note/
*问题修复*.md
*修复总结*.md
*使用指南*.md
# Excel文件除了模板
*.xlsx
!uploads/workorder_template.xlsx
# 配置文件(敏感信息)
config/local_config.py
.env.local