From 4298ae00a9ba823c1cec2bacef0527e27ccda745 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 25 Oct 2024 16:21:25 -0700 Subject: [PATCH] style: fix linting issue in watch.py comment spacing --- aider/watch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/watch.py b/aider/watch.py index 994e55277..4dea3ada0 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -144,7 +144,7 @@ def get_ai_comment(filepath, encoding="utf-8"): comments = [] try: with open(filepath, encoding=encoding, errors="ignore") as f: - for line in f:#ai + for line in f: # ai if match := re.search(r"(?:#|//) *ai(\b.*)?", line, re.IGNORECASE): comment = match.group(1).strip() if comment: