From 090c416d9de047b15dff3b848945f605d2f8c16c Mon Sep 17 00:00:00 2001 From: Evgeni Burovski Date: Tue, 25 Nov 2025 10:44:32 +0100 Subject: [PATCH] add markdown linting via mdformat as a pre-commit hook --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 854fdb3f1..e9735bfbd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -52,3 +52,10 @@ repos: - '--pyink-indentation=2' - '--line-length=122' - '--check' + + - repo: https://github.com/executablebooks/mdformat + rev: 0.7.22 + hooks: + - id: mdformat + additional_dependencies: [mdformat-myst, mdformat-ruff] + files: (docs/.)