[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-03-27 14:08:42 +00:00
commit 88aa3ff451

View file

@ -182,7 +182,9 @@ def _fetch_page_text(url: str, max_chars: int = 4000, timeout: int = 10) -> str:
return ""
def _web_search(query: str, url: str = "", max_results: int = 5, timeout: int = _EXEC_TIMEOUT) -> str:
def _web_search(
query: str, url: str = "", max_results: int = 5, timeout: int = _EXEC_TIMEOUT
) -> str:
"""Search the web using DuckDuckGo and return formatted results.
If *url* is provided, fetches that page directly (skips search).