[Bugfix][CI] Inherit codespell settings from pyproject.toml in the pre-commit-config (#13237)

This commit is contained in:
Tyler Michael Smith 2025-02-13 23:19:43 -05:00 committed by GitHub
parent 09545c0a94
commit 067678262a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,8 @@ repos:
rev: v2.4.0
hooks:
- id: codespell
exclude: 'benchmarks/sonnet.txt|(build|tests/(lora/data|models/fixtures|prompts))/.*|vllm/third_party/.*'
additional_dependencies: ['tomli']
args: ['--toml', 'pyproject.toml']
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:

View File

@ -93,7 +93,7 @@ exclude = [
[tool.codespell]
ignore-words-list = "dout, te, indicies, subtile, ElementE"
skip = "./tests/models/fixtures,./tests/prompts,./benchmarks/sonnet.txt,./tests/lora/data,./build"
skip = "tests/models/fixtures/*,tests/prompts/*,benchmarks/sonnet.txt,tests/lora/data/*,build/*,vllm/third_party/*"
[tool.isort]
use_parentheses = true