chore: apply linting fixes to crewai-tools

This commit is contained in:
Greyson LaLonde
2025-10-02 11:06:38 -04:00
committed by GitHub
parent df754dbcc8
commit 5456c80556
222 changed files with 3482 additions and 2552 deletions

View File

@@ -1,4 +1,4 @@
from typing import Callable
from collections.abc import Callable
from crewai.tools import BaseTool, tool
from crewai.tools.base_tool import to_langchain
@@ -88,7 +88,7 @@ def test_setting_cache_function():
my_tool = MyCustomTool()
# Assert all the right attributes were defined
assert my_tool.cache_function() == False
assert not my_tool.cache_function()
def test_default_cache_function_is_true():
@@ -101,4 +101,4 @@ def test_default_cache_function_is_true():
my_tool = MyCustomTool()
# Assert all the right attributes were defined
assert my_tool.cache_function() == True
assert my_tool.cache_function()