-
Notifications
You must be signed in to change notification settings - Fork 52
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
Error running pre-commit with shellcheck #82
Comments
yes, the same. Shellcheck is installed:
|
I got this error message too after upgrading pre-commit from version 2.0.1 to 2.10.0. |
Might indeed not be applicable to scripts. https://pre-commit.com/index.html#config-additional_dependencies |
Workaround until this is fixed: Overwrite the additional reps of the hook with an empty list:
|
Thanks for that, was driving me crazy to suddenly see this error 😄 |
Thanks for the workaround. I can confirm I don't see the error anymore with this fix. |
Seeing the same issue:
|
I sent an email to the one jumanjiman has listed on his profile letting him know that there is a problem and open PRs with fixes. Also asked if he still has time or a desire to keep maintaining jumanjihouse/pre-commit-hooks, wants to find someone else to help, or would prefer users switch to using a fork as the main one. |
Great!
Sent via Superhuman iOS ( https://sprh.mn/?vip=rich@tongfamily.com )
…On Tue, Feb 16 2021 at 16:54, Ryan Mast < ***@***.*** > wrote:
I sent an email to the one jumanjiman has listed on his profile letting
him know that there is a problem and open PRs with fixes. Also asked if he
still has time or a desire to keep maintaining
jumanjihouse/pre-commit-hooks, wants to find someone else to help, or
would prefer users switch to using a fork as the main one.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (
#82 (comment)
) , or unsubscribe (
https://github.com/notifications/unsubscribe-auth/AANTCR5XPJOAVOZCPYHJDZLS7MHTHANCNFSM4WX5WDEA
).
|
Thanks @nightlark for the email...i had not seen any notifications from GH about the issue and PRs. Thanks everybody for the fixes! I merged them into master. If there are any more issues, please let me know. -paul ref: |
A change in pre-commit caused this bug in the shellcheck pre-commit-hooks repo: jumanjihouse/pre-commit-hooks#82 Fixed in 2.1.5
A change in pre-commit caused this bug in the shellcheck pre-commit-hooks repo: jumanjihouse/pre-commit-hooks#82 Fixed in 2.1.5
A change in pre-commit caused this bug in the shellcheck pre-commit-hooks repo: jumanjihouse/pre-commit-hooks#82 Fixed in 2.1.5
When running
pre-commit run --all-files
on Mac OS X 10.15.7 (bash 5.1.4) with the following .pre-commit-config.yamlan error is thrown
[ERROR] The hook
shellcheckspecifies
additional_dependenciesbut is using language
scriptwhich does not install an environment. Perhaps you meant to use a specific language?
I have attempted to add additional configuration such as 'additional_dependencies' and 'language' but can't seem to get past this one. Is there some configuration missing that I cannot determine from the documentation?
The text was updated successfully, but these errors were encountered: