diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0e47d6ad2..5cb362dfd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: diff --git a/sgl-model-gateway/src/tokenizer/chat_template.rs b/sgl-model-gateway/src/tokenizer/chat_template.rs index 0bc169b0b..64f24e9d1 100644 --- a/sgl-model-gateway/src/tokenizer/chat_template.rs +++ b/sgl-model-gateway/src/tokenizer/chat_template.rs @@ -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)]