style: ruff format normalization to line-length=100
Committed code predated the line-length=100 ruff config; this brings the five drifted files into compliance. No logic change. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -55,9 +55,7 @@ def isolated_leads_dir(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> Path:
|
||||
|
||||
monkeypatch.setattr("codex.cli.get_settings", lambda: settings, raising=False)
|
||||
monkeypatch.setattr("codex.synthesis.get_settings", lambda: settings)
|
||||
monkeypatch.setattr(
|
||||
"codex.config.get_settings", lambda: settings, raising=False
|
||||
)
|
||||
monkeypatch.setattr("codex.config.get_settings", lambda: settings, raising=False)
|
||||
return leads_path
|
||||
|
||||
|
||||
|
||||
@@ -201,9 +201,7 @@ def test_grounding_guard_last_sentence_grounded_earlier_hallucination_ignored()
|
||||
This test verifies that a claim whose text = the last sentence grounds correctly.
|
||||
"""
|
||||
# The last sentence of the claim text is directly grounded in the fixture chunk.
|
||||
grounded_sentence = (
|
||||
"the hyperbolic volume is V = L(gamma1) + L(gamma2) + L(gamma3)"
|
||||
)
|
||||
grounded_sentence = "the hyperbolic volume is V = L(gamma1) + L(gamma2) + L(gamma3)"
|
||||
claim = Claim(
|
||||
text=grounded_sentence,
|
||||
bibkey="Springborn2008",
|
||||
@@ -523,9 +521,7 @@ def test_idempotent_no_rewrite_when_unchanged(
|
||||
call_count = 0
|
||||
original_compile = compile_concept
|
||||
|
||||
def counting_compile(
|
||||
concept: Concept, chunks: list[Any], **kwargs: Any
|
||||
) -> ConceptPage:
|
||||
def counting_compile(concept: Concept, chunks: list[Any], **kwargs: Any) -> ConceptPage:
|
||||
nonlocal call_count
|
||||
call_count += 1
|
||||
return original_compile(concept, chunks, **kwargs)
|
||||
@@ -569,9 +565,7 @@ def test_force_all_recompiles_even_when_unchanged(
|
||||
call_count = 0
|
||||
original_compile = compile_concept
|
||||
|
||||
def counting_compile(
|
||||
concept: Concept, chunks: list[Any], **kwargs: Any
|
||||
) -> ConceptPage:
|
||||
def counting_compile(concept: Concept, chunks: list[Any], **kwargs: Any) -> ConceptPage:
|
||||
nonlocal call_count
|
||||
call_count += 1
|
||||
return original_compile(concept, chunks, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user