Skip to content
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

fix: pre-commit configuration filename #32

Merged

Commits on Jun 21, 2022

  1. fix: pre-commit configuration filename

    According to `pre-commit` official documentation [0]:
    
    > A git repo containing pre-commit plugins must contain a .pre-commit-hooks.yaml file that tells pre-commit:
    
    With the current filename (`yml` instead of `yaml`), trying to configure
    this project as a hook makes `pre-commit` fail with:
    
    ```
    An error has occurred: InvalidManifestError:
    =====> .local/cache/pre-commit/repog7znoma3/.pre-commit-hooks.yaml is not a file
    ```
    
    [0] https://pre-commit.com/#creating-new-hooks
    adamantike committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    deba16c View commit details
    Browse the repository at this point in the history