ci: avoids duplication of codespell config (#17519)
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
[codespell]
|
||||||
|
ignore-words-list = ans, als, hel, boostrap, childs, te, vas, hsa, ment
|
||||||
|
skip = *.json,*.jsonl,*.patch,*.txt
|
||||||
@@ -51,8 +51,7 @@ repos:
|
|||||||
rev: v2.4.1
|
rev: v2.4.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: codespell
|
- id: codespell
|
||||||
additional_dependencies: ['tomli']
|
args: ['--config', '.codespellrc', '-L', 'cann,thi,makro,wil,rouge,PRIS']
|
||||||
args: ['--toml', 'python/pyproject.toml', '-L', 'cann,thi,makro,wil,rouge,PRIS']
|
|
||||||
exclude: |
|
exclude: |
|
||||||
(?x)^(
|
(?x)^(
|
||||||
test/srt/test_reasoning_parser\.py|
|
test/srt/test_reasoning_parser\.py|
|
||||||
|
|||||||
@@ -175,7 +175,3 @@ version_file = "sglang/_version.py"
|
|||||||
git_describe_command = ["bash", "-c", "git tag --list --sort=-version:refname 'v*.*.*' | head -1 | xargs git describe --tags --long"]
|
git_describe_command = ["bash", "-c", "git tag --list --sort=-version:refname 'v*.*.*' | head -1 | xargs git describe --tags --long"]
|
||||||
# Allow editable installs even when .git metadata is not available.
|
# Allow editable installs even when .git metadata is not available.
|
||||||
fallback_version = "0.0.0.dev0"
|
fallback_version = "0.0.0.dev0"
|
||||||
|
|
||||||
[tool.codespell]
|
|
||||||
ignore-words-list = "ans, als, hel, boostrap, childs, te, vas, hsa, ment"
|
|
||||||
skip = "*.json,*.jsonl,*.patch,*.txt"
|
|
||||||
|
|||||||
@@ -133,7 +133,3 @@ exclude = [
|
|||||||
root = ".."
|
root = ".."
|
||||||
version_file = "sglang/_version.py"
|
version_file = "sglang/_version.py"
|
||||||
git_describe_command = ["git", "describe", "--tags", "--long", "--match", "v*"]
|
git_describe_command = ["git", "describe", "--tags", "--long", "--match", "v*"]
|
||||||
|
|
||||||
[tool.codespell]
|
|
||||||
ignore-words-list = "ans, als, hel, boostrap, childs, te, vas, hsa, ment"
|
|
||||||
skip = "*.json,*.jsonl,*.patch,*.txt"
|
|
||||||
|
|||||||
@@ -202,7 +202,3 @@ exclude = [
|
|||||||
root = ".."
|
root = ".."
|
||||||
version_file = "sglang/_version.py"
|
version_file = "sglang/_version.py"
|
||||||
git_describe_command = ["git", "describe", "--tags", "--long", "--match", "v*"]
|
git_describe_command = ["git", "describe", "--tags", "--long", "--match", "v*"]
|
||||||
|
|
||||||
[tool.codespell]
|
|
||||||
ignore-words-list = "ans, als, hel, boostrap, childs, te, vas, hsa, ment"
|
|
||||||
skip = "*.json,*.jsonl,*.patch,*.txt"
|
|
||||||
|
|||||||
@@ -137,7 +137,3 @@ exclude = [
|
|||||||
root = ".."
|
root = ".."
|
||||||
version_file = "sglang/_version.py"
|
version_file = "sglang/_version.py"
|
||||||
git_describe_command = ["git", "describe", "--tags", "--long", "--match", "v*"]
|
git_describe_command = ["git", "describe", "--tags", "--long", "--match", "v*"]
|
||||||
|
|
||||||
[tool.codespell]
|
|
||||||
ignore-words-list = "ans, als, hel, boostrap, childs, te, vas, hsa, ment"
|
|
||||||
skip = "*.json,*.jsonl,*.patch,*.txt"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user