Skip to content

Commit bc80f92

Browse files
committed
tasks: bump to llvm 17 for clang formatting
1 parent 0c1b58d commit bc80f92

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tasks/format_code.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from faasmtools.env import LLVM_VERSION
12
from invoke import task
23
from tasks.env import PROJ_ROOT
34
from subprocess import run
@@ -51,7 +52,7 @@ def format(ctx, check=False):
5152
)
5253

5354
clang_cmd = [
54-
"clang-format-13",
55+
"clang-format-{}".format(LLVM_VERSION.split(".")[0]),
5556
"--dry-run --Werror" if check else "-i",
5657
" ".join(files_to_check),
5758
]

0 commit comments

Comments
 (0)