Fix CI issues: remove unused imports in test files and update CI workflow to only check project-specific files
Some checks failed
CI / test (push) Has been cancelled
Some checks failed
CI / test (push) Has been cancelled
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import pytest
|
||||
import numpy as np
|
||||
|
||||
from shell_history_search.core import EmbeddingService
|
||||
@@ -87,4 +86,4 @@ class TestEmbeddingService:
|
||||
e1 = service.encode_single("same command")
|
||||
|
||||
sim = EmbeddingService.cosine_similarity(e1, e1)
|
||||
assert 0.9999 < sim <= 1.0001
|
||||
assert 0.9999 < sim <= 1.0001
|
||||
|
||||
Reference in New Issue
Block a user