1
0
Fork 0

code cleanup

This commit is contained in:
Christian Kühnel 2020-02-20 19:03:51 +01:00
parent d00cd053e1
commit 3debb3046c

View file

@ -24,6 +24,7 @@ from datetime import tzinfo
GCP_PROJECT_ID = 'llvm-premerge-checks'
class RepoStats:
def __init__(self):
@ -62,6 +63,7 @@ class RepoStats:
return "\n".join(results)
def get_reverts_per_day(repo_path: str, max_age: datetime.datetime) -> RepoStats:
stats = RepoStats()
repo = git.Repo(repo_path)