From df1a0c5b8d4411ca78034259353d4a899f16c9f5 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 25 Apr 2025 07:54:35 -0700 Subject: [PATCH] style: Apply linter to aider/watch.py --- aider/watch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aider/watch.py b/aider/watch.py index fe0887300..8fc521c6d 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -65,7 +65,9 @@ class FileWatcher: """Watches source files for changes and AI comments""" # Compiled regex pattern for AI comments - ai_comment_pattern = re.compile(r"(?:#|//|--|;+) *(ai\b.*|ai\b.*|.*\bai[?!]?) *$", re.IGNORECASE) + ai_comment_pattern = re.compile( + r"(?:#|//|--|;+) *(ai\b.*|ai\b.*|.*\bai[?!]?) *$", re.IGNORECASE + ) def __init__(self, coder, gitignores=None, verbose=False, analytics=None, root=None): self.coder = coder