ci(pre-commit): avoids extraneous codespell exclusions (#17590)
This commit is contained in:
@@ -52,16 +52,6 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: codespell
|
- id: codespell
|
||||||
args: ['--config', '.codespellrc']
|
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
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
||||||
rev: v18.1.8
|
rev: v18.1.8
|
||||||
hooks:
|
hooks:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ use minijinja::{
|
|||||||
Environment, Error as MinijinjaError, ErrorKind, Value,
|
Environment, Error as MinijinjaError, ErrorKind, Value,
|
||||||
};
|
};
|
||||||
use serde::Serialize;
|
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
|
/// Chat template content format
|
||||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
|
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
|
||||||
|
|||||||
Reference in New Issue
Block a user