mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-27 21:55:16 -04:00
Precommit: Add work-around for clang-format's excessive memory usage
This commit is contained in:
parent
91dec94404
commit
eced570b41
6 changed files with 34 additions and 4 deletions
2
tools/precommit/precommit_server.py
Executable file → Normal file
2
tools/precommit/precommit_server.py
Executable file → Normal file
|
|
@ -51,7 +51,7 @@ def mdformat():
|
|||
# ======================================================================================
|
||||
@app.route("/clangformat", methods=["POST"])
|
||||
def clangformat():
|
||||
return run_tool(["clang-format", "--style=llvm", "-i"])
|
||||
return run_tool(["clang_format_wrapper.sh"])
|
||||
|
||||
|
||||
# ======================================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue