feat: Add line link generation in git providers and refactor code suggestions generation

This commit is contained in:
mrT23
2023-11-26 11:57:45 +02:00
parent f36b672eaa
commit f96d4924e7
4 changed files with 41 additions and 23 deletions

View File

@ -89,6 +89,9 @@ class GitProvider(ABC):
def get_pr_id(self):
return ""
def get_line_link(self, relevant_file: str, relevant_line_start: int, relevant_line_end: int = None) -> str:
return ""
#### comments operations ####
@abstractmethod
def publish_comment(self, pr_comment: str, is_temporary: bool = False):