mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-05 13:38:12 +02:00
saving the stats at each repo, so that we can see
the progress
This commit is contained in:
@ -104,6 +104,7 @@ def main():
|
|||||||
for _, row in tqdm.tqdm(repos.iterrows(), total=len(repos)):
|
for _, row in tqdm.tqdm(repos.iterrows(), total=len(repos)):
|
||||||
if "name" not in row or not isinstance(row["name"], str):
|
if "name" not in row or not isinstance(row["name"], str):
|
||||||
continue
|
continue
|
||||||
|
pd.DataFrame(stats).to_csv("pr_stats.csv", index=False)
|
||||||
stats.extend(process_repo(row["name"]))
|
stats.extend(process_repo(row["name"]))
|
||||||
finally:
|
finally:
|
||||||
pd.DataFrame(stats).to_csv("pr_stats.csv", index=False)
|
pd.DataFrame(stats).to_csv("pr_stats.csv", index=False)
|
||||||
|
Reference in New Issue
Block a user