From 4b06d4920bad90406ba50f25f8712e085039bef0 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Fri, 14 Mar 2025 14:02:38 +0100 Subject: [PATCH] removed tqdm because it was too distracting --- utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils.py b/utils.py index 922bac8..28685fe 100644 --- a/utils.py +++ b/utils.py @@ -49,12 +49,12 @@ def has_only_1_comment(commits: PaginatedList[Commit], comments: PaginatedList[P if verbose: print(f"More than 1 comment: {comments.totalCount} comments") return False - commit_dates = [commit.commit.author.date for commit in tqdm(commits, total=commits.totalCount, desc="Extracting date from commits", leave=False)] + commit_dates = [commit.commit.author.date for commit in commits] comment_date = comments[0].created_at n_before = n_after = 0 - for commit_date in tqdm(commit_dates, desc="Checking for 1 comment", leave=False): + for commit_date in commit_dates: if commit_date < comment_date: n_before += 1 continue