Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly use pre-commit 3.6 #177

Merged
merged 1 commit into from
Dec 25, 2023
Merged

Conversation

martis42
Copy link
Owner

Saying >= 3.5 or newer sounds great at first, but actually it makes it hard to know what pre-commit version we actually use. The lock file pins to the latest version greater 3.5 at whatever time the lock was created. Thus, we pin pre-commit, but to know what we pin it to, one has to look into the longish lock file whereas one would expect the information in the pyprojects.toml file.

Saying >= 3.5 or newer sounds great at first, but actually it makes it hard
to know what pre-commit version we actually use. The lock file pins to the
latest version greater 3.5 at whatever time the lock was created. Thus, we
pin pre-commit, but to know what we pin it to, one has to look into the
longish lock file whereas one would expect the information in the
pyprojects.toml file.
@martis42 martis42 merged commit 60945ff into main Dec 25, 2023
4 checks passed
@martis42 martis42 deleted the be_explicit_about_pre_commit_version branch December 25, 2023 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant