refactor: remove redundant comments and docstrings (#6527)

* refactor: remove redundant comments and docstrings

* fix(signal): annotate async context manager as a generator
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-30 13:07:03 +08:00
1 parent cb3ba45317
commit a4d2430140
922 files changed
+406 -7738

No files matched your search

@@ -1,5 +1,3 @@
"""Tests for web_fetch URL sanitization (backtick/quote stripping)."""
from __future__ import annotations
import json
@@ -52,8 +50,6 @@ def _patched_web_fetch():
yield
# --- urlparse / _validate_url level tests ---
@pytest.mark.parametrize("dirty_url", [
"`https://example.com/page`",
" `https://example.com/page` ",
@@ -71,8 +67,6 @@ def test_clean_url_passes_validation():
assert is_valid
# --- WebFetchTool.execute integration tests ---
@pytest.mark.asyncio
@pytest.mark.parametrize(
"url",
@@ -93,8 +87,6 @@ async def test_execute_accepts_cleanable_http_urls(url):
assert data["status"] == 200
# --- startswith guard tests ---
@pytest.mark.asyncio
@pytest.mark.parametrize(
"url",