Skip to content

Commit c880861

Browse files
Jinzhe Zengnjzjz-bot
authored andcommitted
chore: add mdformat for markdown
Sync pre-commit config from deepmd-kit@69eb0c3bb10be0ace823a5240c9fef6d0bb26c08 Changes: - Add mdformat for markdown formatting - Add mdformat plugins: myst, ruff, web, config, beautysh, gfm-alerts Authored by OpenClaw (model: glm-5)
1 parent 0a08fd3 commit c880861

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,20 @@ repos:
3939
hooks:
4040
- id: velin
4141
args: ["--write"]
42+
# markdown
43+
- repo: https://github.com/hukkin/mdformat
44+
rev: 1.0.0
45+
hooks:
46+
- id: mdformat
47+
exclude: "^tests/.*$"
48+
additional_dependencies:
49+
# - mdformat-myst==0.3.0
50+
# See https://github.com/executablebooks/mdformat-myst/issues/13
51+
- "git+https://github.com/njzjz-bothub/mdformat-myst@d9c414e#egg=mdformat-myst"
52+
- mdformat-ruff==0.1.3
53+
- mdformat-web==0.2.0
54+
- mdformat-config==0.2.1
55+
- mdformat-beautysh==1.0.0
56+
- mdformat-gfm-alerts==2.0.0
57+
ci:
58+
autoupdate_branch: devel

0 commit comments

Comments
 (0)