mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-09 02:15:01 +08:00
Add tip for mypy and markdownlint to the pre-commit comment (#30259)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
parent
77072e93b3
commit
5c2433a6f3
14
.github/mergify.yml
vendored
14
.github/mergify.yml
vendored
@ -35,6 +35,20 @@ pull_request_rules:
|
|||||||
|
|
||||||
For future commits, `pre-commit` will run automatically on changed files before each commit.
|
For future commits, `pre-commit` will run automatically on changed files before each commit.
|
||||||
|
|
||||||
|
> [!TIP]
|
||||||
|
> <details>
|
||||||
|
> <summary>Is <code>mypy</code> or <code>markdownlint</code> failing?</summary>
|
||||||
|
> <br/>
|
||||||
|
> <code>mypy</code> and <code>markdownlint</code> are run differently in CI. If the failure is related to either of these checks, please use the following commands to run them locally:
|
||||||
|
>
|
||||||
|
> ```bash
|
||||||
|
> # For mypy (substitute "3.10" with the failing version if needed)
|
||||||
|
> pre-commit run --hook-stage manual mypy-3.10
|
||||||
|
> # For markdownlint
|
||||||
|
> pre-commit run --hook-stage manual markdownlint
|
||||||
|
> ```
|
||||||
|
> </details>
|
||||||
|
|
||||||
- name: comment-dco-failure
|
- name: comment-dco-failure
|
||||||
description: Comment on PR when DCO check fails
|
description: Comment on PR when DCO check fails
|
||||||
conditions:
|
conditions:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user