enhancement: introduce Ruff for Python linter for reordering and removing unused imports with automated pre-commit and sytle check (#2366)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from typing import Any, Dict, List
|
||||
from typing import Any, Dict
|
||||
|
||||
from core.tools.errors import ToolProviderCredentialValidationError
|
||||
from core.tools.provider.builtin.google.tools.google_search import GoogleSearchTool
|
||||
|
@@ -2,9 +2,10 @@ import os
|
||||
import sys
|
||||
from typing import Any, Dict, List, Union
|
||||
|
||||
from serpapi import GoogleSearch
|
||||
|
||||
from core.tools.entities.tool_entities import ToolInvokeMessage
|
||||
from core.tools.tool.builtin_tool import BuiltinTool
|
||||
from serpapi import GoogleSearch
|
||||
|
||||
|
||||
class HiddenPrints:
|
||||
|
Reference in New Issue
Block a user