style: ruff-format the branch-idempotency test

This commit is contained in:
Renn F
2026-06-04 02:25:32 +02:00
parent 555c33ad7d
commit 48d6e99fa4
+3 -1
View File
@@ -319,7 +319,9 @@ async def test_create_branch_idempotent_when_branch_already_exists() -> None:
calls: list[list[str]] = []
async def fake_run_git(_workspace: object, args: list[str], **_kw: object) -> object:
async def fake_run_git(
_workspace: object, args: list[str], **_kw: object
) -> object:
calls.append(list(args))
rc = 1 if list(args[:2]) == ["checkout", "-b"] else 0
return MagicMock(stdout="", returncode=rc)