From 02c30d746190548cfe7c49aa37457507c0e6577c Mon Sep 17 00:00:00 2001 From: 16337 <1633794139@qq.com> Date: Fri, 30 Jan 2026 10:12:09 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=20.gitignore=20?= =?UTF-8?q?=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 忽略 __pycache__/、*.pyc 等 Python 缓存 - 忽略 .trae/ AI 临时文件 - 忽略 logs/ 日志目录 - 忽略 models/*.onnx 中间产物 - 保留 CHANGELOG.md、build_engine.py 等核心文件 --- .gitignore | 44 ++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 40 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index fe24691..a5698a6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,40 @@ -CHANGELOG.md -.trae/documents/plan_20260129_104739.md -.trae/rules/commit_rules.md -.trae/documents/将 yolov8 替换为 yolo11n.md +# Python +__pycache__/ +*.py[cod] +*$py.class +*.so +.Python +*.egg-info/ +dist/ +build/ + +# traefile AI +.trae/ + +# 日志文件 +logs/ +*.log + +# 模型文件(忽略中间产物) +models/*.onnx + +# 环境配置 +.env +.env.local + +# IDE +.idea/ +.vscode/ +*.swp +*.swo +*~ + +# OS +.DS_Store +Thumbs.db + +# 测试覆盖率 +htmlcov/ +.coverage +.coverage.* +*.coverag