From 0950106536f5dfc23adc3e0f53d68ce3bba4b90f Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 9 Aug 2024 07:55:42 -0300 Subject: [PATCH] style: Format code with linter --- aider/commands.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aider/commands.py b/aider/commands.py index 8c528a072..5366b476c 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -902,7 +902,9 @@ class Commands: image = ImageGrab.grabclipboard() if isinstance(image, Image.Image): basename = args.strip() if args.strip() else "clipboard_image" - with tempfile.NamedTemporaryFile(prefix=f"{basename}_", suffix=".png", delete=False) as temp_file: + with tempfile.NamedTemporaryFile( + prefix=f"{basename}_", suffix=".png", delete=False + ) as temp_file: image.save(temp_file.name, "PNG") temp_file_path = temp_file.name