Skip to content

Commit

Permalink
Merge pull request #1455 from polacekpavel/fix/local-git-provider-met…
Browse files Browse the repository at this point in the history
…hod-stubs

fix(local_git): add interface func stubs for git local provider
  • Loading branch information
mrT23 authored Jan 18, 2025
2 parents 536d97b + fe65402 commit 4ab9392
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pr_agent/git_providers/local_git_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4ab9392

Please sign in to comment.