Skip to content

Commit 9e64c2a

Browse files
committed
fix(pre-commit): exclude tests from mdformat
tests 目录下文件是测试输入/输出,不应被 mdformat 处理。\n\nAuthored by OpenClaw (model: custom-chat-jinzhezeng-group/gpt-5.3-codex)
1 parent 8a140e6 commit 9e64c2a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ repos:
4444
rev: 1.0.0
4545
hooks:
4646
- id: mdformat
47+
exclude: "^tests/.*$"
4748
additional_dependencies:
4849
# - mdformat-myst==0.3.0
4950
# See https://github.com/executablebooks/mdformat-myst/issues/13

0 commit comments

Comments
 (0)