From 3a96a10d06e745dfc13376fce1f6e8bfe557dc8a Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sat, 21 Sep 2024 18:46:24 -0700 Subject: [PATCH] style: Format code with black --- aider/scrape.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aider/scrape.py b/aider/scrape.py index 72e2c7ed9..7977a8548 100755 --- a/aider/scrape.py +++ b/aider/scrape.py @@ -185,7 +185,9 @@ class Scraper: headers = {"User-Agent": f"Mozilla./5.0 ({aider_user_agent})"} try: - with httpx.Client(headers=headers, verify=self.verify_ssl, follow_redirects=True) as client: + with httpx.Client( + headers=headers, verify=self.verify_ssl, follow_redirects=True + ) as client: response = client.get(url) response.raise_for_status() return response.text, response.headers.get("content-type", "").split(";")[0]