Skip to content

Commit

Permalink
Migrate linter from pylint to ruff (vllm-project#1665)
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-mo authored Nov 20, 2023
1 parent 112627e commit 5ffc0d1
Show file tree
Hide file tree
Showing 45 changed files with 122 additions and 607 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pylint.yml → .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: pylint
name: ruff

on:
# Trigger the workflow on push or pull request,
Expand All @@ -11,7 +11,7 @@ on:
- main

jobs:
pylint:
ruff:
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint==2.8.2
- name: Analysing the code with pylint
pip install ruff==0.1.5
- name: Analysing the code with ruff
run: |
pylint vllm tests
ruff vllm tests
Loading

0 comments on commit 5ffc0d1

Please sign in to comment.