-
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
Pre-commit hook for check and lock not working in subdirectories. #7247
Comments
Closing due to duplicate #7239 |
Actually, this issue rightfully mentions that the Therefore, I think this is not a duplicate (but a superset of #7239). Maybe it'd be good to re-open? UPDATE: probably the same holds for |
@rubenvdg @gnkow Before it's merged and released, you can adjust your hook config with the same changes in the PR, and that should fix it. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option) and have included the output below.Issue
I've a multi-root project directory such as:
My .pre-commit-config.yml states:
Whenever I try to use the pre-commit hook I get this:
Is there a way to run the pre-commit from the
api
folder?The text was updated successfully, but these errors were encountered: