From 5ecf92382a08082adab3a2a43f66718cb0e8ef21 Mon Sep 17 00:00:00 2001 From: nesquena-hermes Date: Thu, 24 Sep 2026 06:56:57 +0000 Subject: [PATCH] test(#7548): mark the monkeypatch-target import as intentional (ruff F401) Co-authored-by: webtecnica --- tests/test_issue7548_cli_archived_sessions_projection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_issue7548_cli_archived_sessions_projection.py b/tests/test_issue7548_cli_archived_sessions_projection.py index 5cae1c37..0ad4b380 100644 --- a/tests/test_issue7548_cli_archived_sessions_projection.py +++ b/tests/test_issue7548_cli_archived_sessions_projection.py @@ -81,7 +81,7 @@ def test_cli_archived_session_without_sidecar_retains_archived_state(tmp_path, m clear_cli_sessions_cache() monkeypatch.setenv("HERMES_HOME", str(tmp_path)) try: - import api.profiles + import api.profiles # noqa: F401 # makes the monkeypatch target below importable monkeypatch.setattr("api.profiles.get_active_hermes_home", lambda: str(tmp_path)) except Exception: pass