From ee7bb71a05f95164dee84e8220f54fa9cd4ef5b7 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sun, 1 Dec 2024 15:25:52 -0800 Subject: [PATCH] style: fix import order and remove extra blank lines --- aider/watch.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/aider/watch.py b/aider/watch.py index 743b14e2c..2818e6928 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -3,11 +3,10 @@ import threading from pathlib import Path from typing import Optional +from grep_ast import TreeContext from pathspec import PathSpec from pathspec.patterns import GitWildMatchPattern from watchfiles import watch -from grep_ast import TreeContext - from aider.dump import dump # noqa @@ -68,7 +67,6 @@ class FileWatcher: # Compiled regex pattern for AI comments ai_comment_pattern = re.compile(r"(?:#|//) *(ai\b.*|ai\b.*|.*\bai!?)$", re.IGNORECASE) - def __init__(self, coder, gitignores=None, verbose=False): self.coder = coder self.io = coder.io