mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
Add a tqdm progress bar to the process_all_tags_since function to show progress while working through all tags.
This commit is contained in:
parent
4ed4f1400c
commit
35503c0dff
1 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ from operator import itemgetter
|
|||
|
||||
import semver
|
||||
import yaml
|
||||
from tqdm import tqdm
|
||||
|
||||
|
||||
def blame(start_tag, end_tag=None):
|
||||
|
@ -74,7 +75,7 @@ def process_all_tags_since(start_tag):
|
|||
# tags += ['HEAD']
|
||||
|
||||
results = []
|
||||
for i in range(len(tags) - 1):
|
||||
for i in tqdm(range(len(tags) - 1), desc="Processing tags"):
|
||||
start_tag, end_tag = tags[i], tags[i + 1]
|
||||
_, _, total_lines, aider_total, aider_percentage, end_date = blame(start_tag, end_tag)
|
||||
results.append(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue