# Python __pycache__/ *.py[cod] *$py.class *.so .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ share/python-wheels/ *.egg-info/ .installed.cfg *.egg MANIFEST # PyInstaller *.manifest *.spec # Installer logs pip-log.txt pip-delete-this-directory.txt # Unit test / coverage reports htmlcov/ .tox/ .nox/ .coverage .coverage.* .cache nosetests.xml coverage.xml *.cover *.py,cover .hypothesis/ .pytest_cache/ cover/ # Translations *.mo *.pot # Flask stuff: instance/ .webassets-cache # Jupyter Notebook .ipynb_checkpoints # IPython profile_default/ ipython_config.py # pyenv .python-version # pipenv Pipfile.lock # poetry poetry.lock # Environments (保留配置文件,只排除本地环境变量) .env.local .env.development .env.test # Spyder project settings .spyderproject .spyproject # Rope project settings .ropeproject # mkdocs documentation /site # mypy .mypy_cache/ .dmypy.json dmypy.json # Pyre type checker .pyre/ # pytype static type analyzer .pytype/ # Cython debug symbols cython_debug/ # IDE .idea/ .vscode/ *.swp *.swo *~ # 操作系统 .DS_Store .AppleDouble .LSOverride Thumbs.db ehthumbs.db Desktop.ini $RECYCLE.BIN/ *.cab *.msi *.msix *.msm *.msp *.lnk # 虚拟环境 venv/ .venv/ env/ ENV/ env.bak/ venv.bak/ # 日志文件 logs/*.log *.log # 上传文件(用户上传的内容不需要版本控制) app/static/uploads/* !app/static/uploads/.gitkeep # 数据库文件(如果使用SQLite) *.db *.sqlite *.sqlite3 # 临时文件 temp/ tmp/ *.tmp *.bak *.backup # 测试输出 test_output/ test_results/ # 缓存文件 .cache/ # 压缩文件 *.zip *.tar.gz *.rar # 编译文件 *.pyc # 性能分析 *.prof # 本地开发临时文件 scratch/ notes.txt todo.txt # Docker临时文件(保留主要Docker文件) .dockerignore.bak # 部署相关临时文件 deploy_temp/