From 50555643d19d5547ddfc01ad46557c73ea9b864f Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 29 Aug 2024 07:42:40 -0700 Subject: [PATCH 1/4] refactor: remove unused error logging in AutoCompleter --- aider/io.py | 1 - 1 file changed, 1 deletion(-) diff --git a/aider/io.py b/aider/io.py index a4230e6ca..24108b77b 100644 --- a/aider/io.py +++ b/aider/io.py @@ -83,7 +83,6 @@ class AutoCompleter(Completer): try: lexer = guess_lexer_for_filename(fname, content) except Exception as ex: # On Windows, bad ref to time.clock which is deprecated - self.tool_error(f"Error lexing {fname}: {ex}") continue tokens = list(lexer.get_tokens(content)) From 33dde5e4a43532838ee7b90a80906753d68d1f9a Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 29 Aug 2024 07:42:48 -0700 Subject: [PATCH 2/4] style: remove unused variable in exception handling --- aider/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/io.py b/aider/io.py index 24108b77b..1ac8d861b 100644 --- a/aider/io.py +++ b/aider/io.py @@ -82,7 +82,7 @@ class AutoCompleter(Completer): continue try: lexer = guess_lexer_for_filename(fname, content) - except Exception as ex: # On Windows, bad ref to time.clock which is deprecated + except Exception: # On Windows, bad ref to time.clock which is deprecated continue tokens = list(lexer.get_tokens(content)) From 3995accd0ca71cea90ef76d516837f8c2731b9fe Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 29 Aug 2024 07:44:54 -0700 Subject: [PATCH 3/4] version bump to 0.54.6 --- aider/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/__init__.py b/aider/__init__.py index 6c05e5b5b..2fa33142b 100644 --- a/aider/__init__.py +++ b/aider/__init__.py @@ -1 +1 @@ -__version__ = "0.54.6-dev" +__version__ = "0.54.6" From af3c3a3bded632a4ba854bf4fcfd34112ab5e75e Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 29 Aug 2024 07:46:14 -0700 Subject: [PATCH 4/4] set version to 0.54.7-dev --- aider/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/__init__.py b/aider/__init__.py index 2fa33142b..07d25ae64 100644 --- a/aider/__init__.py +++ b/aider/__init__.py @@ -1 +1 @@ -__version__ = "0.54.6" +__version__ = "0.54.7-dev"