chore: pin ruff and basedpyright for prek and lockfile

Match prek additional_dependencies and pyproject dev pins to pdm.lock
(ruff==0.15.22, basedpyright==1.39.9). Format fix for ruff 0.15.22.
This commit is contained in:
2026-07-20 04:35:26 +08:00
parent bec14e76af
commit 7bdd9ff8b7
4 changed files with 48 additions and 27 deletions
+1 -1
View File
@@ -114,6 +114,7 @@ async def test_confirm_deny_with_comment() -> None:
assert "user comment:" in out
assert "too destructive" in out
def test_shell_confirm_formats_command_placeholder() -> None:
script = chr(10).join(["line1", "line2", "line3"])
reason = classify_danger(
@@ -130,4 +131,3 @@ def test_shell_confirm_formats_command_placeholder() -> None:
body = lines[idx + 1 :]
assert body
assert all(ln.startswith(" ") for ln in body)