From b5885651de369b74d24ae2114804b4018d2dc834 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 22 Oct 2025 14:37:41 +0000 Subject: [PATCH] fix: Remove trailing whitespace in docstring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: João --- lib/crewai-tools/src/crewai_tools/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/crewai-tools/src/crewai_tools/__init__.py b/lib/crewai-tools/src/crewai_tools/__init__.py index 4fffbca64..b7f58eb00 100644 --- a/lib/crewai-tools/src/crewai_tools/__init__.py +++ b/lib/crewai-tools/src/crewai_tools/__init__.py @@ -293,7 +293,7 @@ __version__ = "1.1.0" def __getattr__(name: str): """ Catch common typos and provide helpful error messages. - + This function is called when an attribute is not found in the module. It helps users who make common typos when importing tools. """ @@ -302,7 +302,7 @@ def __getattr__(name: str): f"'{name}' is currently under development and not yet available. " f"Please check the CrewAI documentation for updates on when this tool will be released." ) - + if name.endswith("tool") and not name.endswith("Tool"): correct_name = name[:-4] + "Tool" if correct_name in __all__ or correct_name == "PGSearchTool": @@ -311,5 +311,5 @@ def __getattr__(name: str): f"Did you mean '{correct_name}'? " f"Note: Tool names use capital 'T' in 'Tool'." ) - + raise AttributeError(f"module 'crewai_tools' has no attribute '{name}'")