Sha256: 8263e0c7929cd295fa567f95a734f412df2ec25bda12f8d340ad43b7759f9914
Contents?: true
Size: 1.64 KB
Versions: 5
Compression:
Stored size: 1.64 KB
Contents
## # Pre-Commit Configuration # # Initial setup: # # 0. Install the pre-commit framework (if it isn't already on your system): # $ pip install pre-commit # # 1. Install the git hook: # # $ pre-commit install # # # Other commands: # # Run it on all the files in this repo: # $ pre-commit run --all-files # # Updating plugin repositories: # $ pre-commit autoupdate # # Automatically enable pre-commit on repositories # $ git config --global init.templateDir ~/.git-template # $ pre-commit init-templatedir ~/.git-template # # See also: # - https://pre-commit.com for more information # - https://pre-commit.com/hooks.html for more hooks # default_install_hook_types: - pre-commit - prepare-commit-msg fail_fast: true repos: - repo: meta hooks: - id: check-hooks-apply - id: check-useless-excludes - id: identity - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: detect-private-key - id: mixed-line-ending - id: check-added-large-files args: ["--maxkb=1000"] - id: no-commit-to-branch args: ["--branch", "develop", "--branch", "rel/.*"] - id: check-merge-conflict - id: forbid-submodules - repo: https://github.com/avilaton/add-msg-issue-prefix-hook rev: v0.0.11 hooks: - id: add-msg-issue-prefix stages: [prepare-commit-msg] name: Link commit to Github issue args: - "--default=[NOJIRA]" - "--pattern=[a-zA-Z0-9]{0,10}-?[0-9]{1,5}" - "--template=[#{}]"
Version data entries
5 entries across 5 versions & 3 rubygems