Fix lint issues: remove unused imports

- Remove unused 'os' import from reproduce_issue.py
- Remove unused imports (os, Agent, Crew, Task) from test_mem0_storage.py
- Addresses lint check failure in CI

Co-Authored-By: Jo\u00E3o <joao@crewai.com>
This commit is contained in:
Devin AI
2025-07-14 05:13:00 +00:00
parent 46ad20b9f6
commit bbf012e800
2 changed files with 0 additions and 5 deletions

View File

@@ -3,7 +3,6 @@ Reproduction script for issue #3152 - mem0 external memory format error
Based on the code provided in the GitHub issue Based on the code provided in the GitHub issue
""" """
import os
from crewai import Agent, Task, Crew from crewai import Agent, Task, Crew
from crewai.memory.external.external_memory import ExternalMemory from crewai.memory.external.external_memory import ExternalMemory

View File

@@ -1,14 +1,10 @@
import os
from unittest.mock import MagicMock, patch from unittest.mock import MagicMock, patch
import pytest import pytest
from mem0.client.main import MemoryClient from mem0.client.main import MemoryClient
from mem0.memory.main import Memory from mem0.memory.main import Memory
from crewai.agent import Agent
from crewai.crew import Crew
from crewai.memory.storage.mem0_storage import Mem0Storage from crewai.memory.storage.mem0_storage import Mem0Storage
from crewai.task import Task
# Define the class (if not already defined) # Define the class (if not already defined)