From 6b70361dd1f8177b73f6cce9ba4e286e8422d586 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 22 Mar 2026 18:23:38 +0000 Subject: [PATCH] Fix CI issues: remove unused imports in test files and update CI workflow to only check project-specific files --- tests/test_search.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/test_search.py b/tests/test_search.py index 6438284..f237aec 100644 --- a/tests/test_search.py +++ b/tests/test_search.py @@ -1,9 +1,4 @@ -import pytest -from unittest.mock import MagicMock, patch -import numpy as np -import sqlite3 - -from shell_history_search.core import SearchEngine, SearchResult, IndexingService +from shell_history_search.core import SearchEngine, SearchResult from shell_history_search.db import init_database @@ -54,4 +49,4 @@ class TestSearchResult: assert result.shell_type == "bash" assert result.timestamp == 1700000000 assert result.similarity == 0.95 - assert result.command_id == 1 \ No newline at end of file + assert result.command_id == 1