(repo_folder_path: str, n: int)
| 114 | |
| 115 | |
| 116 | def get_nth_commit(repo_folder_path: str, n: int) -> tuple[str, str]: |
| 117 | print(f"Fetching last {n} commits (or all, if there are fewer commits than n)") |
| 118 | return get_commits(repo_folder_path, f"-{n}")[0] |
| 119 | |
| 120 | |
| 121 | def run_mypy( |