From 7b5cab9a5359527602eeec617a9411a848944b95 Mon Sep 17 00:00:00 2001 From: Lily Wang Date: Sun, 1 Dec 2024 16:10:46 +1100 Subject: [PATCH] fix pep8 --- devtools/plot-over-time.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/devtools/plot-over-time.py b/devtools/plot-over-time.py index 56772718..7d928eaf 100644 --- a/devtools/plot-over-time.py +++ b/devtools/plot-over-time.py @@ -34,15 +34,16 @@ help="Print the DataFrame of results", ) + def find_prs_with_file(repo_name, github_token): """ Find all pull requests that added a `metadata.yaml` file to the repository. """ pattern = re.compile(r"metadata\.yaml$") - + g = Github(github_token) repo = g.get_repo(repo_name) - + prs_with_file = [] # Iterate through all pull requests in the repository