WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

dycw/pre-commit-hooks

Repository files navigation

pre-commit-hooks

Overview

My pre-commit hooks.

Installation

  1. Install pre-commit.

  2. Add the following to your .pre-commit-config.yaml:

    repos:
      - repo: https://github.com/dycw/pre-commit-hooks
        rev: master
        hooks:
          - id: check-submodules-updated
          - id: check-version-bumped
          - id: format-requirements
          - id: mirror-files
          - id: replace-sequence-str
          - id: run-bump-my-version
          - id: tag-commits
  3. Update your .pre-commit-config.yaml:

    pre-commit autoupdate

About

My pre-commit hooks

Topics

Resources

Stars

Watchers

Forks