Skip to content

Commit

Permalink
don't error for (local) repos with no rev key
Browse files Browse the repository at this point in the history
  • Loading branch information
jepler committed Jan 29, 2024
1 parent 4d64426 commit d6eee8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion print_precommit_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")}')

0 comments on commit d6eee8c

Please sign in to comment.