1
+ minimum_pre_commit_version : 4.0.1
1
2
repos :
2
3
- repo : https://github.com/pre-commit/pre-commit-hooks
3
4
rev : v4.5.0
@@ -19,47 +20,47 @@ repos:
19
20
entry : python dev/ruff.py
20
21
language : system
21
22
types_or : [python, jupyter]
22
- stages : [commit]
23
+ stages : [pre- commit]
23
24
require_serial : true
24
25
25
26
- id : format
26
27
name : format
27
28
entry : python dev/format.py
28
29
language : system
29
30
types_or : [python, jupyter]
30
- stages : [commit]
31
+ stages : [pre- commit]
31
32
require_serial : true
32
33
33
34
- id : taplo
34
35
name : taplo
35
36
entry : dev/taplo.sh
36
37
language : system
37
38
types : [toml]
38
- stages : [commit]
39
+ stages : [pre- commit]
39
40
require_serial : true
40
41
41
42
- id : blacken-docs
42
43
name : blacken-docs
43
44
entry : blacken-docs
44
45
language : system
45
46
types_or : [rst, markdown]
46
- stages : [commit]
47
+ stages : [pre- commit]
47
48
require_serial : true
48
49
49
50
- id : custom-python-lint
50
51
name : custom-python-lint
51
52
entry : clint
52
53
language : system
53
54
types_or : [python, jupyter]
54
- stages : [commit]
55
+ stages : [pre- commit]
55
56
require_serial : true
56
57
57
58
- id : rstcheck
58
59
name : rstcheck
59
60
entry : rstcheck
60
61
language : system
61
62
files : README.rst
62
- stages : [commit]
63
+ stages : [pre- commit]
63
64
require_serial : true
64
65
65
66
- id : must-have-signoff
73
74
name : mlflow-typo
74
75
entry : dev/mlflow-typo.sh
75
76
language : system
76
- stages : [commit]
77
+ stages : [pre- commit]
77
78
require_serial : true
78
79
79
80
- id : generate-skinny-requirements
84
85
--requirements-txt-output-location requirements/skinny-requirements.txt
85
86
files : " ^requirements/skinny-requirements.yaml$"
86
87
language : system
87
- stages : [commit]
88
+ stages : [pre- commit]
88
89
require_serial : true
89
90
pass_filenames : false
90
91
96
97
--requirements-txt-output-location requirements/core-requirements.txt
97
98
files : " ^requirements/core-requirements.yaml$"
98
99
language : system
99
- stages : [commit]
100
+ stages : [pre- commit]
100
101
require_serial : true
101
102
pass_filenames : false
102
103
@@ -108,15 +109,15 @@ repos:
108
109
--requirements-txt-output-location requirements/gateway-requirements.txt
109
110
files : " ^requirements/gateway-requirements.yaml$"
110
111
language : system
111
- stages : [commit]
112
+ stages : [pre- commit]
112
113
require_serial : true
113
114
pass_filenames : false
114
115
115
116
- id : pyproject
116
117
name : pyproject
117
118
entry : python dev/pyproject.py
118
119
language : system
119
- stages : [commit]
120
+ stages : [pre- commit]
120
121
require_serial : true
121
122
pass_filenames : false
122
123
@@ -125,7 +126,7 @@ repos:
125
126
entry : " python dev/update_ml_package_versions.py --skip-yml"
126
127
files : ' ^(mlflow/ml-package-versions\.yml|mlflow/ml_package_versions\.py)$'
127
128
language : system
128
- stages : [commit]
129
+ stages : [pre- commit]
129
130
require_serial : true
130
131
pass_filenames : false
131
132
@@ -134,5 +135,5 @@ repos:
134
135
entry : dev/lint-proto.sh
135
136
files : ' \.proto$'
136
137
language : system
137
- stages : [commit]
138
+ stages : [pre- commit]
138
139
require_serial : true
0 commit comments