mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
pass multiple files
This commit is contained in:
parent
389d50ea14
commit
9a5a62cf12
6
.github/workflows/awesome_workflow.yml
vendored
6
.github/workflows/awesome_workflow.yml
vendored
@ -122,9 +122,11 @@ jobs:
|
||||
if not cpp_files:
|
||||
sys.exit(0)
|
||||
|
||||
for cpp_file in cpp_files:
|
||||
subprocess.run(["clang-tidy-10", "--fix", "-p=build", cpp_file, "--"],
|
||||
subprocess.run(["clang-tidy-10", "--fix", "-p=build", *cpp_files, "--"],
|
||||
check=True, text=True, stderr=subprocess.STDOUT)
|
||||
# for cpp_file in cpp_files:
|
||||
# subprocess.run(["clang-tidy-10", "--fix", "-p=build", cpp_file, "--"],
|
||||
# check=True, text=True, stderr=subprocess.STDOUT)
|
||||
|
||||
# print("g++:")
|
||||
# compile_exts = tuple(".c .c++ .cc .cpp .cu .cxx".split())
|
||||
|
Loading…
Reference in New Issue
Block a user