Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
3bb4b1e4
Unverified
Commit
3bb4b1e4
authored
Aug 02, 2024
by
Cyrus Leung
Committed by
GitHub
Aug 01, 2024
Browse files
[mypy] Speed up mypy checking (#7056)
parent
954f7305
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
.github/workflows/mypy.yaml
.github/workflows/mypy.yaml
+1
-1
format.sh
format.sh
+3
-2
No files found.
.github/workflows/mypy.yaml
View file @
3bb4b1e4
...
...
@@ -32,6 +32,7 @@ jobs:
pip install types-setuptools
-
name
:
Mypy
run
:
|
mypy
mypy tests --follow-imports skip
mypy vllm/attention --follow-imports skip
mypy vllm/core --follow-imports skip
...
...
@@ -44,5 +45,4 @@ jobs:
mypy vllm/prompt_adapter --follow-imports skip
mypy vllm/spec_decode --follow-imports skip
mypy vllm/worker --follow-imports skip
mypy
format.sh
View file @
3bb4b1e4
...
...
@@ -96,6 +96,7 @@ echo 'vLLM yapf: Done'
# Run mypy
echo
'vLLM mypy:'
mypy
--follow-imports
skip
# Note that this is less strict than CI
mypy tests
--follow-imports
skip
mypy vllm/attention
--follow-imports
skip
mypy vllm/core
--follow-imports
skip
...
...
@@ -108,7 +109,7 @@ mypy vllm/model_executor --follow-imports skip
mypy vllm/prompt_adapter
--follow-imports
skip
mypy vllm/spec_decode
--follow-imports
skip
mypy vllm/worker
--follow-imports
skip
mypy
echo
'vLLM mypy: Done'
# If git diff returns a file that is in the skip list, the file may be checked anyway:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment