Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
[Bugfix][CI/Build] Fix codespell failing to skip files in git diff (v…
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkLight1337 authored and robertgshaw2-redhat committed Jul 14, 2024
1 parent 365a276 commit 491f240
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,11 @@ mypy vllm/logging --config-file pyproject.toml
mypy vllm/model_executor --config-file pyproject.toml


# If git diff returns a file that is in the skip list, the file may be checked anyway:
# https://github.com/codespell-project/codespell/issues/1915
# Avoiding the "./" prefix and using "/**" globs for directories appears to solve the problem
CODESPELL_EXCLUDES=(
'--skip' '*docs/source/_build/**,*tests/lora/data/*'
'--skip' 'tests/prompts/**,./benchmarks/sonnet.txt,tests/lora/data/**,build/**'
)


Expand Down

0 comments on commit 491f240

Please sign in to comment.