forked from mozilla/jira-bugzilla-integration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
64 lines (64 loc) · 1.42 KB
/
.pre-commit-config.yaml
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
53
54
55
56
57
58
59
60
61
62
63
64
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
hooks:
- id: check-added-large-files
- id: check-json
- id: detect-private-key
- id: end-of-file-fixer
- id: pretty-format-json
args: [
'--autofix',
'--indent', '4',
'--no-sort-keys',
]
exclude: "bin/k8s/secret.json"
- id: trailing-whitespace
- repo: local
hooks:
- id: pylint
name: pylint
entry: bin/lint.sh pylint
language: script
types: [python]
- repo: local
hooks:
- id: mypy
name: mypy
entry: bin/lint.sh mypy
language: script
types: [python]
- repo: local
hooks:
- id: bandit
name: bandit
entry: bin/lint.sh bandit
language: script
types: [python]
- repo: local
hooks:
- id: detect-secrets
name: detect-secrets
entry: bin/lint.sh detect-secrets
language: script
- repo: local
hooks:
- id: isort
name: isort
entry: bin/lint.sh isort
language: script
types: [python]
- repo: local
hooks:
- id: black
name: black
entry: bin/lint.sh black
language: script
types: [python]
- repo: local
hooks:
- id: yamllint
name: yamllint
entry: bin/lint.sh yamllint
language: script
types: [yaml]