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 7, 2024
1 parent 797edc0 commit 3067428
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
3 changes: 1 addition & 2 deletions common/autoware_node/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
<package format="3">
<name>autoware_node</name>
<version>0.0.0</version>
<description>Autoware Node is an Autoware.Core package designed to provide a base class for all nodes in the system.
</description>
<description>Autoware Node is an Autoware.Core package designed to provide a base class for all nodes in the system.</description>
<maintainer email="[email protected]">M. Fatih Cırıt</maintainer>
<license>Apache-2.0</license>

Expand Down
5 changes: 1 addition & 4 deletions common/autoware_node/test/test_an_init_shutdown.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@
class AutowareNodeInitShutdown : public ::testing::Test
{
public:
void SetUp() override
{
rclcpp::init(0, nullptr);
}
void SetUp() override { rclcpp::init(0, nullptr); }

void TearDown() override { rclcpp::shutdown(); }

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<launch>
<node pkg="autoware_test_node" exec="autoware_test_node_node" name="test_node1" namespace="test_ns1">
</node>
<node pkg="autoware_test_node" exec="autoware_test_node_node" name="test_node1" namespace="test_ns1"/>
</launch>
3 changes: 2 additions & 1 deletion common/autoware_test_node/src/test_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ TestNode::TestNode(const rclcpp::NodeOptions & options)
: autoware::node::Node("test_node", "", options)

Check warning on line 22 in common/autoware_test_node/src/test_node.cpp

View check run for this annotation

Codecov / codecov/patch

common/autoware_test_node/src/test_node.cpp#L21-L22

Added lines #L21 - L22 were not covered by tests
{
RCLCPP_DEBUG(

Check warning on line 24 in common/autoware_test_node/src/test_node.cpp

View check run for this annotation

Codecov / codecov/patch

common/autoware_test_node/src/test_node.cpp#L24

Added line #L24 was not covered by tests
get_logger(), "TestNode %s constructor was called.", get_node_base_interface()->get_fully_qualified_name());
get_logger(), "TestNode %s constructor was called.",
get_node_base_interface()->get_fully_qualified_name());
}

Check warning on line 27 in common/autoware_test_node/src/test_node.cpp

View check run for this annotation

Codecov / codecov/patch

common/autoware_test_node/src/test_node.cpp#L27

Added line #L27 was not covered by tests
} // namespace autoware::test_node

Expand Down

0 comments on commit 3067428

Please sign in to comment.