style: fix pre-existing ruff format issues in 5 files
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -224,11 +224,7 @@ class TestScrapeDocumentation:
|
||||
mock_run.return_value = MagicMock(returncode=1, stdout="", stderr="")
|
||||
scraper._scrape_documentation(source)
|
||||
|
||||
assert any(
|
||||
"llms_txt_url" in s
|
||||
for c in written_configs
|
||||
for s in c.get("sources", [c])
|
||||
)
|
||||
assert any("llms_txt_url" in s for c in written_configs for s in c.get("sources", [c]))
|
||||
|
||||
def test_start_urls_forwarded_to_doc_config(self, tmp_path):
|
||||
"""start_urls from source is forwarded to the temporary doc config."""
|
||||
@@ -251,11 +247,7 @@ class TestScrapeDocumentation:
|
||||
mock_run.return_value = MagicMock(returncode=1, stdout="", stderr="")
|
||||
scraper._scrape_documentation(source)
|
||||
|
||||
assert any(
|
||||
"start_urls" in s
|
||||
for c in written_configs
|
||||
for s in c.get("sources", [c])
|
||||
)
|
||||
assert any("start_urls" in s for c in written_configs for s in c.get("sources", [c]))
|
||||
|
||||
|
||||
# ===========================================================================
|
||||
|
||||
Reference in New Issue
Block a user