-
-
Notifications
You must be signed in to change notification settings - Fork 766
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
InvalidConfigError: .pre-commit-config.yaml does not exist #457
Comments
Do you have a .pre-commit-config.yaml? You need one of those to tell pre-commit what hooks you want to run. To see how to configure one, see http://pre-commit.com |
@asottile Sorry, I forgot to merge latest from source repo. So there is no .pre-commit-config.yaml. Thanks for your help! |
No problem! Good to hear you figured it out. Do you have any suggestions to improve the messaging? |
|
@khairnarTK whatever repository you tried to hook up does not have a the error alone is not useful, you need to show your configuration |
your error is also different, OP's issue is about |
Fix docs for pretty-format-json: default indent is **2** spaces.
Afer
pre-commit install
in my repo, I commit it and get:pre-commit.log
The text was updated successfully, but these errors were encountered: