Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
eb6c50cd
Unverified
Commit
eb6c50cd
authored
May 30, 2024
by
Cyrus Leung
Committed by
GitHub
May 29, 2024
Browse files
[Bugfix][CI/Build] Fix codespell failing to skip files in `git diff` (#5097)
parent
eecd8643
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
format.sh
format.sh
+4
-1
No files found.
format.sh
View file @
eb6c50cd
...
@@ -113,8 +113,11 @@ mypy vllm/logging --config-file pyproject.toml
...
@@ -113,8 +113,11 @@ mypy vllm/logging --config-file pyproject.toml
mypy vllm/model_executor
--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
=(
CODESPELL_EXCLUDES
=(
'--skip'
'
*docs/source/_build/**,./
tests/lora/data'
'--skip'
'
tests/prompts/**,./benchmarks/sonnet.txt,
tests/lora/data
/**,build/**
'
)
)
# check spelling of specified files
# check spelling of specified files
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment