diff --git a/scripts/ci_code_review.py b/scripts/ci_code_review.py index ceb5bbc89..1ec5e8330 100644 --- a/scripts/ci_code_review.py +++ b/scripts/ci_code_review.py @@ -184,7 +184,9 @@ class GiteaClient: return False return True - def create_commit_status(self, sha: str, state: str, context: str, description: str = "", target_url: str = "") -> bool: + def create_commit_status( + self, sha: str, state: str, context: str, description: str = "", target_url: str = "" + ) -> bool: """ 给指定 commit 打 status。 state: pending / success / failure / error / warning @@ -502,7 +504,6 @@ def build_review_prompt(diff_text: str, pr_number: int, file_list: list) -> str: return prompt - def parse_blocker_result(review_text: str) -> Tuple[bool, int]: """ 从审查结果中解析是否存在阻塞级问题。