添加.gitignore文件,忽略logs目录和日志文件

This commit is contained in:
zhu-mengmeng 2025-06-07 11:39:58 +08:00
parent bd30815b59
commit fb4fd0ed36

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/