INNER CODE UNIT · Python
get_all_files
faasm/faasm · bin/run_clang_tidy.py:62
def get_all_files():
cmd = "git ls-files"
return get_files(cmd)
def get_dir_files(relative_dir):
file_list = [join(argument, f) for f in listdir(argument)]
print(
"Running clang tidy on files in dir {}:\n{}".format(
argument, file_list
)
)
return filter_file_list(file_list)
# Function to actually run clang-tidy
def do_tidy(file_list):
if not file_list: