style(format): ruff format on the three files P7/P8 left drifting [skip-docs]

Pure formatting, no behaviour change. ruff 0.15.18 reported
"3 files would be reformatted, 195 files already formatted" on HEAD 455d611;
after this commit "198 files already formatted". Suite 1570 passed / 5 skipped
before and after, golden demo-transcript.stdout content sha1 unchanged
(ea8c534773acdbe41ae68f2c55724d69aaf8be4f).

Two of the three came from P7 (277bb95), one from P8 (455d611).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Kjell Tore Guttormsen 2026-09-10 06:23:35 +02:00
commit 2e04c00d6e
3 changed files with 7 additions and 11 deletions

View file

@ -104,8 +104,7 @@ def _project(*codes: str) -> Project:
description="",
currency="NOK",
cost_items=tuple(
CostItem(code=c, description=c, quantity=1.0, unit="stk", unit_cost=1.0)
for c in codes
CostItem(code=c, description=c, quantity=1.0, unit="stk", unit_cost=1.0) for c in codes
),
docs_dir="",
)
@ -226,9 +225,7 @@ async def test_the_full_run_carries_the_offer() -> None:
docs_dir=str(UNANCHORED),
bundle_dir=str(UNANCHORED),
verdict_input=_VERDICT_INPUT,
client_factory=scripted_factory(
{"proposer": _VALID_REPLY, "checker": _CHECKER_REPLY}, []
),
client_factory=scripted_factory({"proposer": _VALID_REPLY, "checker": _CHECKER_REPLY}, []),
)
offer = getattr(result, "grounding_offer", None)