style(backend): run ruff format on 10 files

This commit is contained in:
CREDO23 2026-01-28 22:20:02 +02:00
parent 20b8a17254
commit 949ec949f6
10 changed files with 48 additions and 32 deletions

View file

@ -21,6 +21,8 @@ def parse_webcrawler_urls(initial_urls: str | list | None) -> list[str]:
if isinstance(initial_urls, str):
return [url.strip() for url in initial_urls.split("\n") if url.strip()]
elif isinstance(initial_urls, list):
return [url.strip() for url in initial_urls if isinstance(url, str) and url.strip()]
return [
url.strip() for url in initial_urls if isinstance(url, str) and url.strip()
]
else:
return []