From 306068bc220c3301f343bb8a59f62b43498e7407 Mon Sep 17 00:00:00 2001 From: Zhengen TANG Date: Thu, 13 Aug 2026 14:39:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=20.gitignore=EF=BC=9A?= =?UTF-8?q?=E8=A1=A5=E5=85=85=20IDE/OS/=E6=97=A5=E5=BF=97/=E8=A6=86?= =?UTF-8?q?=E7=9B=96=E7=8E=87=E7=AD=89=E5=B8=B8=E8=A7=81=E5=BF=BD=E7=95=A5?= =?UTF-8?q?=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0f2e6bd..769a56d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,13 +1,58 @@ +# ---- Python ---- __pycache__/ *.py[cod] +*$py.class +*.egg-info/ +.eggs/ +.Python +build/ +dist/ +pip-wheel-metadata/ + +# ---- Django / Wagtail ---- *.sqlite3 +*.sqlite3-journal .env +.env.* +!.env.example /media/ /staticfiles/ +/static/ + +# ---- 虚拟环境 ---- .venv/ venv/ -*.egg-info/ +env/ +ENV/ + +# ---- 测试 / 覆盖率 ---- .pytest_cache/ +.coverage +.coverage.* +htmlcov/ +.tox/ +.mypy_cache/ +.ruff_cache/ + +# ---- 日志 / 本地临时文件 ---- +*.log +*.tmp +.git_commit_msg.txt +pytest_output.txt +pytest_full_output.txt + +# ---- IDE / 编辑器 ---- +.vscode/ +.idea/ +*.swp +*.swo + +# ---- 操作系统 ---- +.DS_Store +Thumbs.db +desktop.ini + +# ---- 前端(node_modules/.next 以防万一在根目录出现,正常情况下由 frontend/ 独立仓库管理)---- node_modules/ .next/