mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 16:48:30 +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:
@@ -13,7 +13,7 @@ from crewai.task import Task
|
||||
def short_term_memory():
|
||||
"""Fixture to create a ShortTermMemory instance"""
|
||||
try:
|
||||
import chromadb
|
||||
import chromadb # noqa: F401
|
||||
HAS_CHROMADB = True
|
||||
except ImportError:
|
||||
HAS_CHROMADB = False
|
||||
@@ -39,7 +39,7 @@ def short_term_memory():
|
||||
|
||||
def test_save_and_search(short_term_memory):
|
||||
try:
|
||||
import chromadb
|
||||
import chromadb # noqa: F401
|
||||
HAS_CHROMADB = True
|
||||
except ImportError:
|
||||
HAS_CHROMADB = False
|
||||
|
||||
Reference in New Issue
Block a user