From 675f8e1909487dc2d62fef694cfdeef31003b0f4 Mon Sep 17 00:00:00 2001 From: ZdenekSrotyr Date: Mon, 4 May 2026 19:32:31 +0200 Subject: [PATCH] chore(lint): drop unused imports from new test files (ruff F401) --- tests/fixtures/analyst_bootstrap.py | 3 +-- tests/test_cli_status.py | 1 - tests/test_lib_hooks.py | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/fixtures/analyst_bootstrap.py b/tests/fixtures/analyst_bootstrap.py index 7bf4870..dc4cb0e 100644 --- a/tests/fixtures/analyst_bootstrap.py +++ b/tests/fixtures/analyst_bootstrap.py @@ -32,7 +32,7 @@ import sys import time from dataclasses import dataclass from pathlib import Path -from typing import Iterator, Optional +from typing import Iterator import httpx import pytest @@ -185,7 +185,6 @@ def _seed_db(data_dir: Path) -> dict: # Each parquet is a single-row DuckDB COPY — minimal but valid (PAR1 # magic + metadata) so client-side `_is_valid_parquet` passes. from src.repositories.sync_state import SyncStateRepository - from datetime import datetime, timezone sync_repo = SyncStateRepository(conn) extracts_data = data_dir / "extracts" / "test" / "data" extracts_data.mkdir(parents=True, exist_ok=True) diff --git a/tests/test_cli_status.py b/tests/test_cli_status.py index 87b36ff..99ae2b5 100644 --- a/tests/test_cli_status.py +++ b/tests/test_cli_status.py @@ -1,7 +1,6 @@ """Tests for agnes status (workspace status).""" import json -from pathlib import Path from typer.testing import CliRunner from cli.commands.status import status_app diff --git a/tests/test_lib_hooks.py b/tests/test_lib_hooks.py index 9db538c..d8cdec3 100644 --- a/tests/test_lib_hooks.py +++ b/tests/test_lib_hooks.py @@ -3,7 +3,6 @@ import json from pathlib import Path -import pytest from cli.lib.hooks import install_claude_hooks