From ae64c65c45f52d545957da06f9e91f354c348df2 Mon Sep 17 00:00:00 2001 From: ykcheungab Date: Sun, 11 Oct 2026 21:19:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=20SDK=20=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=B8=85=E5=8D=95=E5=B9=B6=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E7=89=88=E6=9C=AC=E7=BA=A6=E6=9D=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除已删除的标定目录同步项,避免同步失败;将 Ruff 版本写成依赖约束,避免被误判为 SDK 版本。快速回归398项通过,六个 wheel 通过静态及视频检查。 --- data/calibrations/.gitignore | 4 ---- data/calibrations/box/.gitkeep | 1 - data/calibrations/finger/.gitkeep | 1 - data/calibrations/mini/.gitkeep | 1 - docs/code-review.md | 2 +- tools/downstream_sync_manifest.json | 6 ------ 6 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 data/calibrations/.gitignore delete mode 100644 data/calibrations/box/.gitkeep delete mode 100644 data/calibrations/finger/.gitkeep delete mode 100644 data/calibrations/mini/.gitkeep diff --git a/data/calibrations/.gitignore b/data/calibrations/.gitignore deleted file mode 100644 index 5c0276a..0000000 --- a/data/calibrations/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -* -!*/ -!.gitignore -!.gitkeep diff --git a/data/calibrations/box/.gitkeep b/data/calibrations/box/.gitkeep deleted file mode 100644 index 8b13789..0000000 --- a/data/calibrations/box/.gitkeep +++ /dev/null @@ -1 +0,0 @@ - diff --git a/data/calibrations/finger/.gitkeep b/data/calibrations/finger/.gitkeep deleted file mode 100644 index 8b13789..0000000 --- a/data/calibrations/finger/.gitkeep +++ /dev/null @@ -1 +0,0 @@ - diff --git a/data/calibrations/mini/.gitkeep b/data/calibrations/mini/.gitkeep deleted file mode 100644 index 8b13789..0000000 --- a/data/calibrations/mini/.gitkeep +++ /dev/null @@ -1 +0,0 @@ - diff --git a/docs/code-review.md b/docs/code-review.md index 66c7191..3145fc3 100644 --- a/docs/code-review.md +++ b/docs/code-review.md @@ -51,7 +51,7 @@ ruff format `$RUFF` may point at a specific ruff binary; otherwise `tools/lint_gate.py` uses `PATH` or the one beside the interpreter. **Pin the version**: the gate prints the version it ran, and findings differ -between versions, so a runner must install the same one the developers use (currently 0.16.9). +between versions, so a runner must install the same one the developers use (`ruff==0.16.9`). ## What this found when it was introduced diff --git a/tools/downstream_sync_manifest.json b/tools/downstream_sync_manifest.json index de240be..7ff2659 100644 --- a/tools/downstream_sync_manifest.json +++ b/tools/downstream_sync_manifest.json @@ -8,12 +8,6 @@ {"from": "docs", "to": "docs", "include": ["get_started.md", "api.md"]}, {"from": "examples", "to": "examples", "exclude": ["__pycache__", "*.pyc", "*.pyo"]}, {"from": "config", "to": "config", "include": ["box.json", "finger.json", "mini.json"]}, - {"from": "data/calibrations", "to": "data/calibrations", "include": [ - ".gitignore", - "box/.gitkeep", - "mini/.gitkeep", - "finger/.gitkeep" - ]}, {"from": "sensors", "to": "sensors", "include": [ "box/sensor.json", "box/force_calibration.json",