refact: enable ruff preview rules

This commit is contained in:
sebthom
2025-04-28 00:33:58 +02:00
parent f98251ade3
commit bda0acf943
9 changed files with 70 additions and 59 deletions

View File

@@ -380,7 +380,7 @@ class TestAdExtractorContent:
):
try:
info = await test_extractor._extract_ad_page_info("/some/dir", 12345)
assert info["description"] == ""
assert not info["description"]
except TimeoutError:
# This is also acceptable - depends on how we want to handle timeouts
pass