code cleanup
This commit is contained in:
parent
d00cd053e1
commit
3debb3046c
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue