From fe6540275c32cbaa21368aabae843e4e90dc55ef Mon Sep 17 00:00:00 2001 From: polacekpavel Date: Wed, 15 Jan 2025 18:19:36 +0100 Subject: [PATCH] fix(local_git): add interface method stubs for local git provider compatibility --- pr_agent/git_providers/local_git_provider.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pr_agent/git_providers/local_git_provider.py b/pr_agent/git_providers/local_git_provider.py index a03b8ec23..420289761 100644 --- a/pr_agent/git_providers/local_git_provider.py +++ b/pr_agent/git_providers/local_git_provider.py @@ -141,6 +141,18 @@ def remove_initial_comment(self): def remove_comment(self, comment): pass # Not applicable to the local git provider, but required by the interface + def add_eyes_reaction(self, comment): + pass # Not applicable to the local git provider, but required by the interface + + def get_commit_messages(self): + pass # Not applicable to the local git provider, but required by the interface + + def get_repo_settings(self): + pass # Not applicable to the local git provider, but required by the interface + + def remove_reaction(self, comment): + pass # Not applicable to the local git provider, but required by the interface + def get_languages(self): """ Calculate percentage of languages in repository. Used for hunk prioritisation.