File tree Expand file tree Collapse file tree 1 file changed +20
-17
lines changed Expand file tree Collapse file tree 1 file changed +20
-17
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
- - repo : https://github.com/pre-commit/mirrors- autopep8
3
- rev : v1.5.6 # Use the sha / tag you want to point at
2
+ - repo : https://github.com/hhatto/ autopep8
3
+ rev : v2.3.2
4
4
hooks :
5
5
- id : autopep8
6
6
- repo : https://github.com/pre-commit/pre-commit-hooks
7
- rev : v1.3 .0
7
+ rev : v5.0 .0
8
8
hooks :
9
9
# Git state
10
10
- id : check-merge-conflict
11
- stages : [commit]
11
+ stages : [pre- commit]
12
12
- id : check-added-large-files
13
- stages : [commit]
13
+ stages : [pre- commit]
14
14
# Sensitive information
15
15
- id : detect-private-key
16
- stages : [commit]
16
+ stages : [pre- commit]
17
17
- id : detect-aws-credentials
18
- stages : [commit]
18
+ stages : [pre- commit]
19
19
args :
20
20
- --allow-missing-credentials
21
21
# Generic file state
22
22
- id : trailing-whitespace
23
- stages : [commit]
23
+ stages : [pre- commit]
24
24
- id : mixed-line-ending
25
- stages : [commit]
25
+ stages : [pre- commit]
26
26
- id : end-of-file-fixer
27
- stages : [commit]
27
+ stages : [pre- commit]
28
28
exclude : .*\.tfvars$ # terraform fmt separates everything with blank lines leaving a trailing line at the end
29
29
- id : check-executables-have-shebangs
30
- stages : [commit]
30
+ stages : [pre- commit]
31
31
# Language syntax/formatting
32
32
- id : check-yaml
33
- stages : [commit]
33
+ stages : [pre- commit]
34
34
- id : check-json
35
- stages : [commit]
35
+ stages : [pre- commit]
36
36
- id : pretty-format-json
37
- stages : [commit]
37
+ stages : [pre- commit]
38
38
args :
39
39
- --autofix
40
+ - repo : https://github.com/pycqa/flake8
41
+ rev : 7.1.2
42
+ hooks :
40
43
- id : flake8
41
- stages : [commit]
44
+ stages : [pre- commit]
42
45
args :
43
46
- --ignore=F705,E123,E402
44
47
- repo : https://github.com/pryorda/dockerfilelint-precommit-hooks
45
48
rev : v0.1.0
46
49
hooks :
47
50
- id : dockerfilelint
48
- stages : [commit]
51
+ stages : [pre- commit]
49
52
- repo : https://github.com/mattlqx/pre-commit-sign
50
- rev : v1.1.3
53
+ rev : v1.2.0
51
54
hooks :
52
55
- id : sign-commit
53
56
stages : [commit-msg]
You can’t perform that action at this time.
0 commit comments