ci(pre-commit): avoids extraneous codespell exclusions (#17590)

This commit is contained in:
Jacob Gordon
2026-01-22 08:55:23 -06:00
committed by GitHub
parent 5324027007
commit 42523d0364
2 changed files with 1 additions and 11 deletions

View File

@@ -52,16 +52,6 @@ repos:
hooks:
- id: codespell
args: ['--config', '.codespellrc']
exclude: |
(?x)^(
test/srt/test_reasoning_parser\.py|
docs/advanced_features/vlm_query\.ipynb|
python/sglang/srt/grpc/.*_pb2\.py|
python/sglang/srt/grpc/.*_pb2_grpc\.py|
python/sglang/srt/grpc/.*_pb2\.pyi|
python/sglang/srt/grpc/.*_pb2_grpc\.pyi|
sgl-model-gateway/src/tokenizer/chat_template\.rs
)$
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.8
hooks:

View File

@@ -17,7 +17,7 @@ use minijinja::{
Environment, Error as MinijinjaError, ErrorKind, Value,
};
use serde::Serialize;
use serde_json::{self, ser::PrettyFormatter, Value as JsonValue};
use serde_json::{self, ser::PrettyFormatter, Value as JsonValue}; // codespell:ignore ser
/// Chat template content format
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]