@@ -13,10 +13,6 @@ repos:
13
13
args : [--in-place, --verbose]
14
14
# Keep the same list from yapfignore here to avoid yapf failing without any inputs
15
15
exclude : ' (.github|benchmarks|examples|docs)/.*'
16
- - repo : https://github.com/rhysd/actionlint
17
- rev : v1.7.7
18
- hooks :
19
- - id : actionlint
20
16
- repo : https://github.com/astral-sh/ruff-pre-commit
21
17
rev : v0.11.7
22
18
hooks :
@@ -44,6 +40,10 @@ repos:
44
40
# hooks:
45
41
# - id: pymarkdown
46
42
# args: [fix]
43
+ - repo : https://github.com/rhysd/actionlint
44
+ rev : v1.7.7
45
+ hooks :
46
+ - id : actionlint
47
47
- repo : local
48
48
hooks :
49
49
# For local development, you can run mypy using tools/mypy.sh script if needed.
@@ -56,24 +56,27 @@ repos:
56
56
- id : mypy-3.9 # TODO: Use https://github.com/pre-commit/mirrors-mypy when mypy setup is less awkward
57
57
name : Run mypy for Python 3.9
58
58
entry : tools/mypy.sh 1 "3.9"
59
+ # Use system python because vllm installation is required
59
60
language : system
60
61
types : [python]
61
62
stages : [manual] # Only run in CI
62
63
- id : mypy-3.10 # TODO: Use https://github.com/pre-commit/mirrors-mypy when mypy setup is less awkward
63
64
name : Run mypy for Python 3.10
64
65
entry : tools/mypy.sh 1 "3.10"
66
+ # Use system python because vllm installation is required
65
67
language : system
66
68
types : [python]
67
- stages : [manual] # Only run in CI
68
69
- id : mypy-3.11 # TODO: Use https://github.com/pre-commit/mirrors-mypy when mypy setup is less awkward
69
70
name : Run mypy for Python 3.11
70
71
entry : tools/mypy.sh 1 "3.11"
72
+ # Use system python because vllm installation is required
71
73
language : system
72
74
types : [python]
73
75
stages : [manual] # Only run in CI
74
76
- id : mypy-3.12 # TODO: Use https://github.com/pre-commit/mirrors-mypy when mypy setup is less awkward
75
77
name : Run mypy for Python 3.12
76
78
entry : tools/mypy.sh 1 "3.12"
79
+ # Use system python because vllm installation is required
77
80
language : system
78
81
types : [python]
79
82
stages : [manual] # Only run in CI
0 commit comments