Skip to content

Commit e6fa107

Browse files
committed
Revert "temporary remve mypy"
This reverts commit d1ac979ddc7e7df909fe8d5a22a11f0f252c7b6e. Signed-off-by: wangli <wangli858794774@gmail.com>
1 parent f18bd88 commit e6fa107

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

.pre-commit-config.yaml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -64,34 +64,34 @@ repos:
6464
# language: system
6565
# types: [python]
6666
# stages: [pre-commit] # Don't run in CI
67-
# - id: mypy-3.9 # TODO: Use https://github.com/pre-commit/mirrors-mypy when mypy setup is less awkward
68-
# name: Run mypy for Python 3.9
69-
# entry: tools/mypy.sh 1 "3.9"
70-
# # Use system python because vllm installation is required
71-
# language: system
72-
# types: [python]
73-
# stages: [manual] # Only run in CI
74-
# - id: mypy-3.10 # TODO: Use https://github.com/pre-commit/mirrors-mypy when mypy setup is less awkward
75-
# name: Run mypy for Python 3.10
76-
# entry: tools/mypy.sh 1 "3.10"
77-
# # Use system python because vllm installation is required
78-
# language: system
79-
# types: [python]
80-
# stages: [manual] # Only run in CI
81-
# - id: mypy-3.11 # TODO: Use https://github.com/pre-commit/mirrors-mypy when mypy setup is less awkward
82-
# name: Run mypy for Python 3.11
83-
# entry: tools/mypy.sh 1 "3.11"
84-
# # Use system python because vllm installation is required
85-
# language: system
86-
# types: [python]
87-
# stages: [manual] # Only run in CI
88-
# - id: mypy-3.12 # TODO: Use https://github.com/pre-commit/mirrors-mypy when mypy setup is less awkward
89-
# name: Run mypy for Python 3.12
90-
# entry: tools/mypy.sh 1 "3.12"
91-
# # Use system python because vllm installation is required
92-
# language: system
93-
# types: [python]
94-
# stages: [manual] # Only run in CI
67+
- id: mypy-3.9 # TODO: Use https://github.com/pre-commit/mirrors-mypy when mypy setup is less awkward
68+
name: Run mypy for Python 3.9
69+
entry: tools/mypy.sh 1 "3.9"
70+
# Use system python because vllm installation is required
71+
language: system
72+
types: [python]
73+
stages: [manual] # Only run in CI
74+
- id: mypy-3.10 # TODO: Use https://github.com/pre-commit/mirrors-mypy when mypy setup is less awkward
75+
name: Run mypy for Python 3.10
76+
entry: tools/mypy.sh 1 "3.10"
77+
# Use system python because vllm installation is required
78+
language: system
79+
types: [python]
80+
stages: [manual] # Only run in CI
81+
- id: mypy-3.11 # TODO: Use https://github.com/pre-commit/mirrors-mypy when mypy setup is less awkward
82+
name: Run mypy for Python 3.11
83+
entry: tools/mypy.sh 1 "3.11"
84+
# Use system python because vllm installation is required
85+
language: system
86+
types: [python]
87+
stages: [manual] # Only run in CI
88+
- id: mypy-3.12 # TODO: Use https://github.com/pre-commit/mirrors-mypy when mypy setup is less awkward
89+
name: Run mypy for Python 3.12
90+
entry: tools/mypy.sh 1 "3.12"
91+
# Use system python because vllm installation is required
92+
language: system
93+
types: [python]
94+
stages: [manual] # Only run in CI
9595
- id: shellcheck
9696
name: Lint shell scripts
9797
entry: tools/shellcheck.sh

0 commit comments

Comments
 (0)