添加 .gitignore 文件到 main 分支

This commit is contained in:
zhu-mengmeng 2025-06-07 11:44:31 +08:00
parent e6b454a24f
commit 681bfca6df

33
.gitignore vendored Normal file
View File

@ -0,0 +1,33 @@
# 忽略日志文件和目录
logs/
*.log
# Python虚拟环境
venv/
env/
.env/
.venv/
__pycache__/
*.py[cod]
*$py.class
# IDE相关
.idea/
.vscode/
*.swp
*.swo
# 系统文件
.DS_Store
Thumbs.db
# 缓存文件
__pycache__/
.pytest_cache/
.coverage
htmlcov/
# 构建文件
build/
dist/
*.egg-info/