chore: format

This commit is contained in:
Timothy Jaeryang Baek
2026-05-09 15:25:27 +09:00
parent 46ff3abbb8
commit 7bcc0e2e5c
30 changed files with 155 additions and 159 deletions
@@ -37,9 +37,9 @@ def search_duckduckgo(
# Use the ddgs.text() method to perform the search
try:
kwargs = {"safesearch": "moderate", "max_results": count}
if backend and backend != "auto":
kwargs["backend"] = backend
kwargs = {'safesearch': 'moderate', 'max_results': count}
if backend and backend != 'auto':
kwargs['backend'] = backend
results = ddgs.text(query, **kwargs)
search_results = results if results is not None else []
except RatelimitException as e: