repos:
- repo: local
hooks:
- id: vecboost-precommit
name: VecBoost pre-commit checks
description: Run all VecBoost pre-commit checks (fmt, clippy, check, build)
entry: bash -c ". scripts/pre-commit-check.sh"
language: system
pass_filenames: false
always_run: false
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
name: Check trailing whitespace
entry: trailing-whitespace-fixer
language: system
pass_filenames: true
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-merge-conflict
name: Check for merge conflict markers
entry: check-merge-conflict
language: system
pass_filenames: true
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-added-large-files
name: Check for large files
entry: check-added-large-files
args: ['--maxkb=1000']
language: system
pass_filenames: true
default_install_hook_types: [pre-commit, commit-msg]
default_stages: [pre-commit]
minimum_pre_commit_version: '3.0.0'
exclude: |
(?x)^(
target/|
\.git/|
\.cargo/|
\.github/workflows/|
docs/|
\.pyc$
)