From 75d24974ecf7a40e343a499ea7239aba022ef31b Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sun, 1 Dec 2024 18:25:23 -0800 Subject: [PATCH] style: fix linting issues in watch.py --- aider/watch.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aider/watch.py b/aider/watch.py index c0bc79af4..0d1a6bab9 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -10,7 +10,8 @@ from watchfiles import watch from aider.dump import dump # noqa -#ai + +# ai def is_source_file(path: Path) -> bool: """ Check if a file is a source file that uses # or // style comments. @@ -48,7 +49,7 @@ def is_source_file(path: Path) -> bool: ".hs", # Haskell ".lua", ".elm", - ".vhd", # VHDL + ".vhd", # VHDL ".vhdl", } return path.suffix.lower() in COMMENT_STYLE_EXTENSIONS