precommit: Switch from markdownlint to mdformat

This commit is contained in:
Ole Schütt 2022-11-05 22:42:32 +01:00 committed by Ole Schütt
parent f95d3a4a5d
commit 786bc82ff9
35 changed files with 266 additions and 579 deletions

View file

@ -204,7 +204,7 @@ def process_file(fn: str, allow_modifications: bool) -> None:
run_remote_tool("shellcheck", fn)
if re.match(r".*\.md$", fn):
run_remote_tool("markdownlint", fn)
run_remote_tool("mdformat", fn)
if re.match(r"(.*/CMakeLists.txt)|(.*\.cmake)$", fn):
run_remote_tool("cmakeformat", fn)