mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-07 02:28:16 +08:00
style: apply ruff format to the recall tests
Mechanical line-wrapping left over from running ruff format across the tree; belongs with the commit that added the file.
This commit is contained in:
@@ -17,9 +17,7 @@ def _iso(days: float) -> str:
|
||||
return (datetime.now(tz=timezone.utc) - timedelta(days=days)).isoformat()
|
||||
|
||||
|
||||
def _stub_stamps(
|
||||
monkeypatch: pytest.MonkeyPatch, by_surface: dict[str, list[EntityStamp]]
|
||||
) -> None:
|
||||
def _stub_stamps(monkeypatch: pytest.MonkeyPatch, by_surface: dict[str, list[EntityStamp]]) -> None:
|
||||
from deeptutor.services.memory.snapshot import adapters
|
||||
|
||||
monkeypatch.setattr(adapters, "read_stamps", lambda surface: by_surface.get(surface, []))
|
||||
|
||||
Reference in New Issue
Block a user