-
Notifications
You must be signed in to change notification settings - Fork 40
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
Pre-commit now throws a warning when targeting a specific branch #45
Comments
👋 Hello! Thanks for submitting a issue! @Matt-Gleich will try to respond as soon as possible. |
@lig any idea why this might be going on? |
@Matt-Gleich I'll try to look into this a bit later |
So, according to pre-commit docs, this is by pre-commit design for mutable git references, aka branch references. @Matt-Gleich Using tags in the @ptrbrynt as a workaround, I recommend following pre-commit docs advice and use pre-commit autoupdate --bleeding-edge --repo https://github.com/fluttercommunity/import_sorter This should point the revision to the latest commit hash in |
See #63 |
Describe the bug
When running pre-commit with this config:
A warning is thrown:
Expected behavior
I would like a tag to be added to GitHub which I can reference in my pre-commit config.
Meta Information:
import_sorter
Version: masterThe text was updated successfully, but these errors were encountered: