28 lines
739 B
YAML
28 lines
739 B
YAML
|
# See https://pre-commit.com for more information
|
||
|
# See https://pre-commit.com/hooks.html for more hooks
|
||
|
repos:
|
||
|
- 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: check-added-large-files
|
||
|
- id: detect-private-key
|
||
|
- id: mixed-line-ending
|
||
|
|
||
|
- repo: https://github.com/commitizen-tools/commitizen
|
||
|
rev: v3.27.0
|
||
|
hooks:
|
||
|
- id: commitizen
|
||
|
stages: [commit-msg]
|
||
|
|
||
|
- repo: local
|
||
|
hooks:
|
||
|
- id: home-manager-check
|
||
|
name: Home Manager Config Check
|
||
|
entry: home-manager switch --dry-run
|
||
|
language: system
|
||
|
pass_filenames: false
|
||
|
exclude: ^docs/
|