From 8cd129eb7d2561f2a2b426b5b74a326965bb78e4 Mon Sep 17 00:00:00 2001 From: ydshieh Date: Thu, 17 Oct 2024 15:18:51 +0200 Subject: [PATCH] run --- utils/check_bad_commit.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/check_bad_commit.py b/utils/check_bad_commit.py index 091ed5c4a427f9..1f265803582912 100644 --- a/utils/check_bad_commit.py +++ b/utils/check_bad_commit.py @@ -131,8 +131,10 @@ def get_commit_info(commit): url = f"https://api.github.com/repos/huggingface/transformers/commits/{commit}/pulls" pr_info_for_commit = requests.get(url).json() + print(pr_info_for_commit) if len(pr_info_for_commit) > 0: + print(pr_info_for_commit) pr_number = pr_info_for_commit[0]["number"] url = f"https://api.github.com/repos/huggingface/transformers/pulls/{pr_number}"