-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
33 lines (29 loc) · 867 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
33 lines (29 loc) · 867 Bytes
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
minimum_pre_commit_version: "4.0.0"
default_install_hook_types: [pre-commit, pre-push]
repos:
- repo: local
hooks:
- id: staged-whitespace
name: staged whitespace
entry: git diff --cached --check
language: system
pass_filenames: false
stages: [pre-commit]
- id: staged-secret-patterns
name: staged secret patterns
entry: python3 scripts/scan_secrets.py --staged
language: system
pass_filenames: false
stages: [pre-commit]
- id: repository-checks
name: repository checks
entry: make check
language: system
pass_filenames: false
stages: [pre-commit]
- id: full-verification
name: full verification
entry: make verify
language: system
pass_filenames: false
stages: [pre-push]