INNER CODE UNIT · Python

get_files

faasm/faasm · bin/run_clang_tidy.py:20

def get_files(cmd):
    print("Running files cmd: {}".format(cmd))
    res = run(
        cmd,
        check=True,
        shell=True,
        cwd=PROJ_ROOT,
        stdout=PIPE,
        stderr=PIPE,
    )

    all_files = res.stdout.decode("utf-8").split("\n")
    all_files = [f.strip() for f in all_files if f.strip()]
    return filter_file_list(all_files)


def filter_file_list(all_files):
    print("Started with {} files".format(len(all_files)))

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…