From 8cca34378d1d50a6f4f9470cb8f6fd9d4df46a20 Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Fri, 30 Oct 2020 17:42:31 +0530 Subject: [PATCH] fix ci folder check --- .github/workflows/awesome_workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/awesome_workflow.yml b/.github/workflows/awesome_workflow.yml index de1c215d..eb878c47 100644 --- a/.github/workflows/awesome_workflow.yml +++ b/.github/workflows/awesome_workflow.yml @@ -122,7 +122,7 @@ jobs: subprocess.run(["clang-tidy-10", "-p=build", "--fix", *cpp_files, "--"], check=True, text=True, stderr=subprocess.STDOUT) - + subprocess.run(["clang-format-10", "-i", *cpp_files], check=True, text=True, stderr=subprocess.STDOUT) @@ -136,7 +136,7 @@ jobs: print(f"{len(space_files)} files contain space or dash characters:") print("\n".join(space_files) + "\n") - nodir_files = [file for file in cpp_files if file.count(os.sep) != 1 and "project_euler" not in file and "data_structure" not in file] + nodir_files = [file for file in cpp_files if file.count(os.sep) != 1 and "project_euler" not in file and "leetcode" not in file and "data_structure" not in file] if nodir_files: print(f"{len(nodir_files)} files are not in one and only one directory:") print("\n".join(nodir_files) + "\n")