blob: c9a87eacd0fa9031e7706d4996175de1372ee7f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
---
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
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
- hooks:
- id: gitleaks
repo: https://github.com/gitleaks/gitleaks
rev: v8.24.0
- hooks:
- id: shellcheck
repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
- hooks:
- id: srcinfo-fixer
- id: verify-srcinfo-checksums
repo: https://github.com/edlanglois/pkgbuild-hooks
rev: v0.2.0
|