From c899533a2ce428ddba3d7d63811442462df3f754 Mon Sep 17 00:00:00 2001 From: matthew Date: Fri, 20 Dec 2024 14:14:17 +0300 Subject: [PATCH] ruff --- .../browser_managers/browser_downloader_handler.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scrapypuppeteer/browser_managers/browser_downloader_handler.py b/scrapypuppeteer/browser_managers/browser_downloader_handler.py index 0715b82..fc96801 100644 --- a/scrapypuppeteer/browser_managers/browser_downloader_handler.py +++ b/scrapypuppeteer/browser_managers/browser_downloader_handler.py @@ -49,7 +49,9 @@ def from_crawler(cls, crawler: Crawler): case "puppeteer": browser_manager = ServiceBrowserManager() case "pyppeteer": - raise ValueError("Currently, pyppeteer cannot run on some machines since it is not actively supported.") + raise ValueError( + "Currently, pyppeteer cannot run on some machines since it is not actively supported." + ) case "playwright": browser_manager = PlaywrightBrowserManager() case _: