From e11d4f489e48b565b787ebed8e8a145f06dfcc49 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Mon, 8 Apr 2024 19:59:16 +0000 Subject: [PATCH] Restyled by yapf --- tiger/tools/search/duckduckgo.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tiger/tools/search/duckduckgo.py b/tiger/tools/search/duckduckgo.py index 387c40d..e1710a9 100644 --- a/tiger/tools/search/duckduckgo.py +++ b/tiger/tools/search/duckduckgo.py @@ -8,7 +8,9 @@ def search(query: str, max_number: int = 20) -> list: :param max_number: int: (Default value = 20) """ - return [result["href"] for result in DDGS().text(query, max_results=max_number)] + return [ + result["href"] for result in DDGS().text(query, max_results=max_number) + ] tool_name = "system.duckduckgo"