INNER CODE UNIT · Python

inner_tidy

faasm/faasm · bin/run_clang_tidy.py:98

def inner_tidy(file_chunk):
    print("Running clang-tidy on chunk of {} files".format(len(file_chunk)))
    cmd = [
        "clang-tidy-13",
        '-config "{}"'.format(CONFIG),
        "--fix",
        "--fix-errors",
        "--format-style=file",
        "-p={}".format(BUILD_PATH),
        " ".join(file_chunk),
    ]

    cmd = " ".join(cmd)
    run(cmd, check=True, shell=True, cwd=PROJ_ROOT)


if __name__ == "__main__":
    if len(sys.argv) == 2:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…