Skip to content

Commit

Permalink
tasks: bump to llvm 17 for clang formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
csegarragonz committed Feb 15, 2024
1 parent 0c1b58d commit bc80f92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/format_code.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from faasmtools.env import LLVM_VERSION
from invoke import task
from tasks.env import PROJ_ROOT
from subprocess import run
Expand Down Expand Up @@ -51,7 +52,7 @@ def format(ctx, check=False):
)

clang_cmd = [
"clang-format-13",
"clang-format-{}".format(LLVM_VERSION.split(".")[0]),
"--dry-run --Werror" if check else "-i",
" ".join(files_to_check),
]
Expand Down

0 comments on commit bc80f92

Please sign in to comment.