From 92b31561136b117f2985109f48be8c574521cb08 Mon Sep 17 00:00:00 2001 From: Fernando Cladera Date: Tue, 12 Mar 2024 12:52:20 -0400 Subject: [PATCH] Fix CI coding style --- .github/workflows/cpplint.yml | 7 ++++--- .../include/kr_mav_controllers/so3_control_tester.hpp | 1 + kr_mav_controllers/test/so3_control_nodelet_test.cpp | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cpplint.yml b/.github/workflows/cpplint.yml index 3ffbc9f2..872eb86e 100644 --- a/.github/workflows/cpplint.yml +++ b/.github/workflows/cpplint.yml @@ -10,9 +10,10 @@ jobs: with: github_token: ${{ secrets.github_token }} reporter: github-pr-review - flags: --linelength=120 # Optional - filter: "-whitespace/braces \" - ,-whitespace/parens" + flags: --linelength=120 + filter: "-whitespace/braces\" + ,-whitespace/parens\ + ,-build/c++11" #"-readability/braces\ # ,-whitespace/braces\ # ,-whitespace/comments\ diff --git a/kr_mav_controllers/include/kr_mav_controllers/so3_control_tester.hpp b/kr_mav_controllers/include/kr_mav_controllers/so3_control_tester.hpp index 83b52e3f..55d57143 100644 --- a/kr_mav_controllers/include/kr_mav_controllers/so3_control_tester.hpp +++ b/kr_mav_controllers/include/kr_mav_controllers/so3_control_tester.hpp @@ -4,6 +4,7 @@ #include #include #include +#include class SO3ControlTester { diff --git a/kr_mav_controllers/test/so3_control_nodelet_test.cpp b/kr_mav_controllers/test/so3_control_nodelet_test.cpp index 3c56f2b3..1df5f62d 100644 --- a/kr_mav_controllers/test/so3_control_nodelet_test.cpp +++ b/kr_mav_controllers/test/so3_control_nodelet_test.cpp @@ -21,7 +21,7 @@ TEST(SO3ControlNodeletTest, Test1) std::lock_guard lock(tester.mutex); EXPECT_FALSE(tester.so3_command_received_); } - ASSERT_TRUE(tester.is_so3_cmd_publisher_active()); // checking if nodelet is active + ASSERT_TRUE(tester.is_so3_cmd_publisher_active()); // checking if nodelet is active } /*