Skip to content
Snippets Groups Projects
Commit 09a94bf5 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

fix clang-format style option

parent e93469c8
No related branches found
No related tags found
1 merge request!5Extend mdspan interface and fix mdspan memory layout mapping
Pipeline #71119 passed
......@@ -29,7 +29,8 @@ def invoke_clang_format(code: str, options: ClangFormatOptions) -> str:
binary = options.get_option("binary")
force = options.get_option("force")
args = [binary, f"--style={options.code_style}"]
style = options.get_option("code_style")
args = [binary, f"--style={style}"]
if not shutil.which(binary):
if force:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment