diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py index 6a1991222..6ccc7c40c 100755 --- a/aider/coders/base_coder.py +++ b/aider/coders/base_coder.py @@ -39,6 +39,7 @@ class ExhaustedContextWindow(Exception): pass + def wrap_fence(name): return f"<{name}>", f"" diff --git a/aider/linter.py b/aider/linter.py index a18ff963d..4ca1ee17d 100644 --- a/aider/linter.py +++ b/aider/linter.py @@ -13,6 +13,7 @@ from tree_sitter_languages import get_parser # noqa: E402 warnings.simplefilter("ignore", category=FutureWarning) + class Linter: def __init__(self, encoding="utf-8", root=None): self.encoding = encoding