From 28752ae3da9681c97fdd082a13e5c6f731056199 Mon Sep 17 00:00:00 2001 From: Kumi Date: Sat, 18 May 2024 21:36:21 +0200 Subject: [PATCH] refactor: mark base imports in tools as used Adjusted import statements in `tools.__init__.py` to silence linting warnings regarding unused imports. This emphasizes that `BaseTool`, `StopProcessing`, and `Handover` are intentionally imported for export purposes, despite not being directly referenced. This change aids in maintaining cleaner code and reduces confusion around import intentions. No functional impact or changes in behavior are expected as a result of this refactor. --- src/gptbot/tools/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gptbot/tools/__init__.py b/src/gptbot/tools/__init__.py index 7b66687..9168d30 100644 --- a/src/gptbot/tools/__init__.py +++ b/src/gptbot/tools/__init__.py @@ -1,6 +1,6 @@ from importlib import import_module -from .base import BaseTool, StopProcessing, Handover +from .base import BaseTool, StopProcessing, Handover # noqa: F401 TOOLS = {}