mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-13 03:15:17 +00:00
Implementing 'is_supported' method
This commit is contained in:
parent
6170995665
commit
918549a4fc
1 changed files with 3 additions and 2 deletions
|
|
@ -77,8 +77,9 @@ class LocalGitProvider(GitProvider):
|
|||
raise ValueError('Error while rebasing. Resolve conflicts before retrying.') from e
|
||||
|
||||
def is_supported(self, capability: str) -> bool:
|
||||
# TODO implement
|
||||
pass
|
||||
if capability in ['get_issue_comments', 'create_inline_comment', 'publish_inline_comments', 'get_labels']:
|
||||
return False
|
||||
return True
|
||||
|
||||
def get_diff_files(self) -> list[FilePatchInfo]:
|
||||
diffs = self.repo.head.commit.diff(
|
||||
|
|
|
|||
Loading…
Reference in a new issue