Skip to content

Commit

Permalink
fix: working solution for py310
Browse files Browse the repository at this point in the history
  • Loading branch information
CompRhys committed Nov 19, 2024
1 parent e755dfd commit ac10146
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/check_pre_commit_reqs.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ def main():

# Report results
if mismatches:
msg_str = ''.join('\n\t'+msg for msg in mismatches)
print(
f"Version mismatches found:{''.join(f'\n\t{msg}' for msg in mismatches)}"
f"Version mismatches found:{msg_str}"
"\nPlease update the versions in `.pre-commit-config.yaml` to be "
"consistent with those in `requirements-fmt.txt` (source of truth)."
"\nNote: all versions must be pinned exactly ('==X.Y.Z') in both files."
Expand Down

0 comments on commit ac10146

Please sign in to comment.