fix long comments

This commit is contained in:
Hussam.lawen
2024-08-12 12:27:09 +03:00
parent ef37271ce9
commit 9c1ab06491
4 changed files with 23 additions and 1 deletions

View File

@ -256,6 +256,9 @@ class GitProvider(ABC):
except Exception as e:
return -1
def limit_output_characters(self, output: str, max_chars: int):
return output[:max_chars] + '...' if len(output) > max_chars else output
def get_main_pr_language(languages, files) -> str:
"""
@ -326,6 +329,8 @@ def get_main_pr_language(languages, files) -> str:
return main_language_str
class IncrementalPR:
def __init__(self, is_incremental: bool = False):
self.is_incremental = is_incremental