mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-26 21:25:19 -04:00
precommit: Switch from markdownlint to mdformat
This commit is contained in:
parent
f95d3a4a5d
commit
786bc82ff9
35 changed files with 266 additions and 579 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue