diff --git a/print_precommit_versions.py b/print_precommit_versions.py index e2a608b..f2e2454 100644 --- a/print_precommit_versions.py +++ b/print_precommit_versions.py @@ -25,4 +25,4 @@ class PreCommitRepo(TypedDict): print("Using the following pre-commit hook versions:") for repo in repos: - print(f' * {repo["repo"]} @ {repo["rev"]}') + print(f' * {repo["repo"]} @ {repo.get("rev")}')