File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ repos :
2
+ - repo : https://github.com/pre-commit/pre-commit-hooks
3
+ rev : v2.3.0
4
+ hooks :
5
+ - id : check-yaml
6
+ args : [--allow-multiple-documents]
7
+ - id : check-json
8
+ - id : end-of-file-fixer
9
+ - id : trailing-whitespace
10
+ - id : pretty-format-json
11
+
12
+ - repo : https://github.com/pycqa/isort
13
+ rev : 5.11.5
14
+ hooks :
15
+ - id : isort
16
+ name : isort
17
+ entry : isort --profile black
18
+
19
+ - repo : https://github.com/psf/black
20
+ rev : 24.2.0
21
+ hooks :
22
+ - id : black
23
+
24
+ - repo : https://github.com/pycqa/flake8
25
+ rev : 7.1.1
26
+ hooks :
27
+ - id : flake8
28
+ args :
29
+ - --ignore=E203,W503
30
+ - --max-line-length=88
Original file line number Diff line number Diff line change @@ -45,3 +45,7 @@ build-test-image:
45
45
.PHONY : push-test-image
46
46
push-test-image :
47
47
podman push ${E2E_TEST_IMAGE}
48
+
49
+ .PHONY : precommit
50
+ precommit :
51
+ pre-commit run --all-files
You can’t perform that action at this time.
0 commit comments