Add autoupdate command to `pre-commit` · Issue #44 · pre-commit/pre-commit · GitHub
Skip to content

Add autoupdate command to pre-commit #44

Description

@asottile

Autoupdate will:

for each repo in the pre-commit config:
    - fetch inside the repository
    - check the manifest at the tip of `master` to make sure all
        of the configured hooks still exist
    - if any of the hooks no  longer exist: abort with a useful
        error message
    - otherwise update pre-commit config for this repo to point
        at the tip of `master`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions