From 1df1f2d55f3b0de9da8a3aed64d438380f05e6d0 Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Wed, 8 Jul 2020 15:21:59 -0400 Subject: [PATCH] use clang-tidy config file --- .github/workflows/awesome_workflow.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/awesome_workflow.yml b/.github/workflows/awesome_workflow.yml index 98768b768..6be0169a8 100644 --- a/.github/workflows/awesome_workflow.yml +++ b/.github/workflows/awesome_workflow.yml @@ -129,10 +129,7 @@ jobs: print("clang-tidy:") for cpp_file in cpp_files: - subprocess.run(["clang-tidy", - "--format-style='{ BasedOnStyle: Google, UseTab: Never, IndentWidth: 4, TabWidth: 4, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 80, AccessModifierOffset: -3 }'", - "-checks=-*,google-*,portability-*", "--fix", - cpp_file, "--"], check=True, text=True) + subprocess.run(["clang-tidy", "--quiet", "--fix", cpp_file, "--"], check=True, text=True) # print("g++:") # compile_exts = tuple(".c .c++ .cc .cpp .cu .cxx".split())