mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-16 21:05:17 +00:00
Remove duplicate get_repo_settings() in bitbucket_provider
This commit is contained in:
parent
fda98643c2
commit
542bc9586a
1 changed files with 0 additions and 7 deletions
|
|
@ -168,13 +168,6 @@ class BitbucketProvider:
|
||||||
def get_issue_comments(self):
|
def get_issue_comments(self):
|
||||||
raise NotImplementedError("Bitbucket provider does not support issue comments yet")
|
raise NotImplementedError("Bitbucket provider does not support issue comments yet")
|
||||||
|
|
||||||
def get_repo_settings(self):
|
|
||||||
try:
|
|
||||||
contents = self.repo_obj.get_contents(".pr_agent.toml", ref=self.pr.head.sha).decoded_content
|
|
||||||
return contents
|
|
||||||
except Exception:
|
|
||||||
return ""
|
|
||||||
|
|
||||||
def add_eyes_reaction(self, issue_comment_id: int) -> Optional[int]:
|
def add_eyes_reaction(self, issue_comment_id: int) -> Optional[int]:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue