[CI/Build] Update Ruff version (#8469)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Co-authored-by: Cyrus Leung <cyrus.tl.leung@gmail.com>
This commit is contained in:
Aaron Pham
2024-09-18 07:00:56 -04:00
committed by GitHub
parent 6ffa3f314c
commit 9d104b5beb
27 changed files with 50 additions and 77 deletions

View File

@@ -159,7 +159,7 @@ echo 'vLLM codespell: Done'
# Lint specified files
lint() {
ruff "$@"
ruff check "$@"
}
# Lint files that differ from main branch. Ignores dirs that are not slated
@@ -175,7 +175,7 @@ lint_changed() {
if ! git diff --diff-filter=ACM --quiet --exit-code "$MERGEBASE" -- '*.py' '*.pyi' &>/dev/null; then
git diff --name-only --diff-filter=ACM "$MERGEBASE" -- '*.py' '*.pyi' | xargs \
ruff
ruff check
fi
}