mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-19 12:58:14 +00:00
Fix lint issues: suppress unused chromadb import warnings and update remaining external memory test
Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
@@ -8,7 +8,7 @@ from crewai.memory.long_term.long_term_memory_item import LongTermMemoryItem
|
||||
def long_term_memory():
|
||||
"""Fixture to create a LongTermMemory instance"""
|
||||
try:
|
||||
import chromadb
|
||||
import chromadb # noqa: F401
|
||||
HAS_CHROMADB = True
|
||||
except ImportError:
|
||||
HAS_CHROMADB = False
|
||||
@@ -21,7 +21,7 @@ def long_term_memory():
|
||||
|
||||
def test_save_and_search(long_term_memory):
|
||||
try:
|
||||
import chromadb
|
||||
import chromadb # noqa: F401
|
||||
HAS_CHROMADB = True
|
||||
except ImportError:
|
||||
HAS_CHROMADB = False
|
||||
|
||||
Reference in New Issue
Block a user