Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Dec 20, 2023
1 parent e361f35 commit 9d98964
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
//
// Developed by Apex.AI, Inc.

#include "autoware_auto_common/common/types.hpp"
#include "autoware_auto_common/common/visibility_control.hpp"

#include <cstdint>
#include <tuple>
#include <type_traits>

#include "autoware_auto_common/common/types.hpp"
#include "autoware_auto_common/common/visibility_control.hpp"

#ifndef AUTOWARE_AUTO_COMMON__COMMON__TYPE_TRAITS_HPP_
#define AUTOWARE_AUTO_COMMON__COMMON__TYPE_TRAITS_HPP_

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
#ifndef AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__TEMPLATE_UTILS_HPP_
#define AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__TEMPLATE_UTILS_HPP_

#include <type_traits>

#include "autoware_auto_common/common/types.hpp"

#include <type_traits>

namespace autoware
{
namespace common
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
#ifndef AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__TYPE_NAME_HPP_
#define AUTOWARE_AUTO_COMMON__HELPER_FUNCTIONS__TYPE_NAME_HPP_

#include "autoware_auto_common/common/visibility_control.hpp"

#include <string>
#include <typeinfo>

#include "autoware_auto_common/common/visibility_control.hpp"

#if defined(__clang__) || defined(__GNUC__) || defined(__GNUG__)
#include <cxxabi.h>
#endif
Expand Down
4 changes: 2 additions & 2 deletions common/autoware_auto_common/test/test_angle_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
//
// Developed by Apex.AI, Inc.

#include <gtest/gtest.h>

#include "autoware_auto_common/common/types.hpp"
#include "autoware_auto_common/helper_functions/angle_utils.hpp"

#include <gtest/gtest.h>

namespace
{
using autoware::common::helper_functions::wrap_angle;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
// limitations under the License.
//
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.
#include <gtest/gtest.h>

#include "autoware_auto_common/common/types.hpp"
#include "autoware_auto_common/helper_functions/mahalanobis_distance.hpp"

#include <gtest/gtest.h>

TEST(MahalanobisDistanceTest, BasicTest)
{
Eigen::Matrix<autoware::common::types::float32_t, 2, 1> mean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
//
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.

#include "autoware_auto_common/helper_functions/message_adapters.hpp"

#include <geometry_msgs/msg/transform_stamped.hpp>

#include <gtest/gtest.h>

#include <memory>
#include <vector>

#include "autoware_auto_common/helper_functions/message_adapters.hpp"

using autoware::common::helper_functions::message_field_adapters::get_frame_id;
using autoware::common::helper_functions::message_field_adapters::get_stamp;

Expand Down
4 changes: 2 additions & 2 deletions common/autoware_auto_common/test/test_template_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
//
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.

#include <gtest/gtest.h>

#include "autoware_auto_common/helper_functions/template_utils.hpp"

#include <gtest/gtest.h>

struct CorrectType
{
};
Expand Down
4 changes: 2 additions & 2 deletions common/autoware_auto_common/test/test_type_name.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
//
// Developed by Apex.AI, Inc.

#include <gtest/gtest.h>

#include "autoware_auto_common/common/types.hpp"
#include "autoware_auto_common/helper_functions/type_name.hpp"

#include <gtest/gtest.h>

namespace
{
using autoware::common::types::float32_t;
Expand Down
6 changes: 3 additions & 3 deletions common/autoware_auto_common/test/test_type_traits.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
//
// Developed by Apex.AI, Inc.

#include "autoware_auto_common/common/type_traits.hpp"
#include "autoware_auto_common/common/types.hpp"

#include <gtest/gtest.h>

#include <tuple>

#include "autoware_auto_common/common/type_traits.hpp"
#include "autoware_auto_common/common/types.hpp"

namespace
{
/// @brief A simple testing function to check if all types are arithmetic.
Expand Down

0 comments on commit 9d98964

Please sign in to comment.