-
Notifications
You must be signed in to change notification settings - Fork 139
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
Shellcheck: files are not picked up correctly #35
Comments
This should probably be reported to https://github.com/pre-commit/pre-commit, since filtering isn't advanced enough to cover all these cases. |
Not even there, but here: https://github.com/chriskuehl/identify Precisely here, ff.: https://github.com/chriskuehl/identify/blob/master/identify/identify.py#L144 |
Please review & approve there: pre-commit/identify#130
|
Yoou! Looks like striking this ticket off the list comes within reach 🥳 |
OP's message implies this is using |
Oh thank you! Actually the following commit was meant not to hit on eg. |
I was going to merge the nix stuff first |
We can use this list to set the right |
Encountered this just now. Not sure if everything is up to date, but I suppose this may help others. My error:
Successful workaround:
|
types: bash
only finds#!/bin/bash
shebangs it seems.It should pick up:
*.sh
#!/bin/bash
(this one seems to work)#!/bin/sh
#!/usr/bin/env bash
#!/usr/bin/env sh
#!/usr/bin/env nix-shell
+#!.*nix-shell.*-i bash.*
The text was updated successfully, but these errors were encountered: