From 10192296fe7a8259b8c063e6c15e68839abc25c1 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 19 Nov 2024 12:34:47 -0800 Subject: [PATCH] style: Format code with linter --- aider/io.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aider/io.py b/aider/io.py index 2be2472ac..cbbbd944a 100644 --- a/aider/io.py +++ b/aider/io.py @@ -445,9 +445,9 @@ class InputOutput: multiline_input = True # Check for optional tag after opening { if len(line) > 1: - tag = ''.join(c for c in line[1:] if c.isalnum()) + tag = "".join(c for c in line[1:] if c.isalnum()) multiline_tag = tag - inp += line[len(tag)+1:] + "\n" + inp += line[len(tag) + 1 :] + "\n" else: multiline_tag = None inp += line[1:] + "\n" @@ -456,7 +456,7 @@ class InputOutput: if multiline_tag: # Check if the line ends with tag} if line.endswith(f"{multiline_tag}}}"): - inp += line[:-len(multiline_tag)-1] + "\n" + inp += line[: -len(multiline_tag) - 1] + "\n" break else: inp += line + "\n"