添加 .gitignore 文件

This commit is contained in:
superlishunqin 2025-04-22 22:54:56 +08:00
parent 5cef0065ad
commit 6c68ae7c14

57
.gitignore vendored
View File

@ -1,56 +1,17 @@
# 虚拟环境
venv/
env/
.venv/
.env/
study/
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
env/
venv/
study/
ENV/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
# Flask实例文件夹
instance/*
!instance/.gitkeep
# 环境变量文件
.env
.flaskenv
# 数据库文件
*.db
*.sqlite
*.sqlite3
# 日志文件
*.log
logs/
# IDE相关
log/
# 其他常见排除项
.DS_Store
.idea/
.vscode/
*.swp
*.swo
.DS_Store
.coverage
htmlcov/
.pytest_cache/
# 迁移文件夹中的版本文件
migrations/versions/
# 开发环境的静态文件或上传文件
uploads/