-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
52 lines (47 loc) · 1.06 KB
/
.pre-commit-config.yaml
File metadata and controls
52 lines (47 loc) · 1.06 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-json
exclude: 'k8s/secret.json'
- id: detect-private-key
- id: end-of-file-fixer
- id: pretty-format-json
args: [
'--autofix',
'--indent', '4',
'--no-sort-keys',
]
exclude: 'k8s/secret.json'
- id: trailing-whitespace
- repo: local
hooks:
- id: lint
name: lint
entry: bin/lint.sh
args: [lint]
language: system
types: [python]
- id: mypy
name: mypy
entry: bin/lint.sh
args: [mypy]
language: system
types: [python]
- id: bandit
name: bandit
entry: bin/lint.sh
args: [bandit]
language: system
- id: detect-secrets
name: detect-secrets
entry: bin/lint.sh
args: [detect-secrets]
language: system
- id: format
name: format
entry: bin/lint.sh
args: [format]
language: system
types: [python]