aur/.pre-commit-config.yaml
2026-01-27 12:07:50 +01:00

33 lines
805 B
YAML

---
default_install_hook_types:
- pre-commit
- commit-msg
default_stages:
- pre-commit
- pre-merge-commit
- pre-push
- manual
exclude: "(?x)^(\n .*cache.*/.*| # Exclude cache directories\n .*venv.*/.*|\
\ # Exclude virtual environment directories\n)$\n"
fail_fast: true
repos:
- hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-vcs-permalinks
- id: destroyed-symlinks
- id: detect-private-key
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
- hooks:
- id: gitleaks
repo: https://github.com/gitleaks/gitleaks
rev: v8.30.0
- hooks:
- id: srcinfo-fixer
- id: verify-srcinfo-checksums
repo: https://github.com/edlanglois/pkgbuild-hooks
rev: v0.2.0