-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
hooks: add poetry-update hook #8327
Merged
Merged
Commits on Aug 28, 2023
-
When switching branches keeping dependencies in sync with the lock file can become cumbersome, because it is easy to forget. Therefore poetry supplies a pre-commit hook, that can take care of it. After switching branches or checking out a file `poetry install --sync` is invoked and keeps everything nice and tidy. To make use of that, you need to either supply `default_install_hook_types` inside of your `.pre-commit-config.yaml` or you need to manually install them with: `pre-commit install --install-hooks -t pre-commit -t post-checkout -t post-merge`.
Configuration menu - View commit details
-
Copy full SHA for f328c52 - Browse repository at this point
Copy the full SHA f328c52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 635fd0e - Browse repository at this point
Copy the full SHA 635fd0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d832729 - Browse repository at this point
Copy the full SHA d832729View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1ccc2a - Browse repository at this point
Copy the full SHA c1ccc2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f61f92 - Browse repository at this point
Copy the full SHA 9f61f92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00ac310 - Browse repository at this point
Copy the full SHA 00ac310View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6293d68 - Browse repository at this point
Copy the full SHA 6293d68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c46fe7 - Browse repository at this point
Copy the full SHA 4c46fe7View commit details -
change description of poetry install hook
Co-authored-by: Randy Döring <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b2af90b - Browse repository at this point
Copy the full SHA b2af90bView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.