mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-26 13:15:21 -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
|
|
@ -41,9 +41,10 @@ def shellcheck():
|
|||
|
||||
|
||||
# ======================================================================================
|
||||
@app.route("/markdownlint", methods=["POST"])
|
||||
def markdownlint():
|
||||
return run_tool(["markdownlint"])
|
||||
@app.route("/mdformat", methods=["POST"])
|
||||
@app.route("/markdownlint", methods=["POST"]) # for backwards compatibility
|
||||
def mdformat():
|
||||
return run_tool(["mdformat"])
|
||||
|
||||
|
||||
# ======================================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue