Skip to content

Commit cb01ccc

Browse files
hmellorIsotr0py
authored andcommitted
Move linting to pre-commit (vllm-project#11975)
Signed-off-by: Harry Mellor <[email protected]> Signed-off-by: Isotr0py <[email protected]>
1 parent f22c8ac commit cb01ccc

26 files changed

+725
-1287
lines changed

.buildkite/nightly-benchmarks/scripts/nightly-annotate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ main() {
4343

4444

4545

46-
# The figures should be genereated by a separate process outside the CI/CD pipeline
46+
# The figures should be generated by a separate process outside the CI/CD pipeline
4747

4848
# # generate figures
4949
# python3 -m pip install tabulate pandas matplotlib

.github/workflows/actionlint.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/clang-format.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

.github/workflows/codespell.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/workflows/doc-lint.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/dummy.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: dummy-checks
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
mypy:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: ["3.12"]
12+
steps:
13+
- run: echo "This is a dummy step that always passes"
14+
ruff:
15+
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
python-version: ["3.12"]
19+
steps:
20+
- run: echo "This is a dummy step that always passes"

.github/workflows/matchers/ruff.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/mypy.yaml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/workflows/png-lint.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/pre-commit.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: pre-commit
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
pre-commit:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
13+
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
14+
with:
15+
python-version: "3.12"
16+
- run: echo "::add-matcher::.github/workflows/matchers/actionlint.json"
17+
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

.github/workflows/ruff.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)