mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-20 23:25:44 +08:00
[Docs] Add command for running mypy tests from CI (#17475)
Signed-off-by: Russell Bryant <rbryant@redhat.com>
This commit is contained in:
parent
2990cee95b
commit
39317cf42b
@ -40,6 +40,10 @@ pre-commit install --hook-type pre-commit --hook-type commit-msg
|
|||||||
# You can manually run pre-commit with
|
# You can manually run pre-commit with
|
||||||
pre-commit run --all-files
|
pre-commit run --all-files
|
||||||
|
|
||||||
|
# To manually run something from CI that does not run
|
||||||
|
# locally by default, you can run:
|
||||||
|
pre-commit run mypy-3.9 --hook-stage manual --all-files
|
||||||
|
|
||||||
# Unit tests
|
# Unit tests
|
||||||
pytest tests/
|
pytest tests/
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user