Skip to content

Commit f496102

Browse files
Bump version of pre-commit hooks (#98)
1 parent f61dd7c commit f496102

7 files changed

Lines changed: 12 additions & 24 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ repos:
2828
- id: sort-simple-yaml
2929
- id: trailing-whitespace
3030
- repo: https://github.com/astral-sh/ruff-pre-commit
31-
rev: v0.14.14
31+
rev: v0.15.4
3232
hooks:
3333
- id: ruff
3434
args: ['--output-format=full', '--fix', '--config', 'pyproject.toml']
@@ -40,7 +40,7 @@ repos:
4040
args: ['--write-changes']
4141
exclude: CHANGELOG.rst
4242
- repo: https://github.com/pre-commit/mirrors-clang-format
43-
rev: v21.1.8
43+
rev: v22.1.0
4444
hooks:
4545
- id: clang-format
4646
files: \.(c|cc|cxx|cpp|frag|glsl|h|hpp|hxx|ih|ispc|ipp|java|m|proto|vert)$

cm_topic_hardware_component/test/cm_topic_hardware_component_test.cpp

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,10 @@ class TestTopicBasedSystem : public ::testing::Test
4747
{
4848
protected:
4949
static void SetUpTestCase()
50-
{
51-
rclcpp::init(0, nullptr);
52-
}
50+
{ rclcpp::init(0, nullptr); }
5351

5452
static void TearDownTestCase()
55-
{
56-
rclcpp::shutdown();
57-
}
53+
{ rclcpp::shutdown(); }
5854

5955
void SetUp() override
6056
{
@@ -66,9 +62,7 @@ class TestTopicBasedSystem : public ::testing::Test
6662
}
6763

6864
void TearDown() override
69-
{
70-
node_.reset();
71-
}
65+
{ node_.reset(); }
7266

7367
rclcpp::Node::SharedPtr node_;
7468
rclcpp::Executor::SharedPtr executor_;

joint_state_topic_hardware_interface/test/gripper/gripper.launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# you may not use this file except in compliance with the License.
55
# You may obtain a copy of the License at
66
#
7-
# http:#www.apache.org/licenses/LICENSE-2.0
7+
# http://www.apache.org/licenses/LICENSE-2.0
88
#
99
# Unless required by applicable law or agreed to in writing, software
1010
# distributed under the License is distributed on an "AS IS" BASIS,

joint_state_topic_hardware_interface/test/gripper/position.test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# you may not use this file except in compliance with the License.
55
# You may obtain a copy of the License at
66
#
7-
# http:#www.apache.org/licenses/LICENSE-2.0
7+
# http://www.apache.org/licenses/LICENSE-2.0
88
#
99
# Unless required by applicable law or agreed to in writing, software
1010
# distributed under the License is distributed on an "AS IS" BASIS,

joint_state_topic_hardware_interface/test/joint_state_topic_hardware_interface_test.cpp

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,10 @@ class TestTopicBasedSystem : public ::testing::Test
4545
{
4646
protected:
4747
static void SetUpTestCase()
48-
{
49-
rclcpp::init(0, nullptr);
50-
}
48+
{ rclcpp::init(0, nullptr); }
5149

5250
static void TearDownTestCase()
53-
{
54-
rclcpp::shutdown();
55-
}
51+
{ rclcpp::shutdown(); }
5652

5753
void SetUp() override
5854
{
@@ -67,9 +63,7 @@ class TestTopicBasedSystem : public ::testing::Test
6763
}
6864

6965
void TearDown() override
70-
{
71-
node_.reset();
72-
}
66+
{ node_.reset(); }
7367

7468
rclcpp::Node::SharedPtr node_;
7569
rclcpp::Executor::SharedPtr executor_;

joint_state_topic_hardware_interface/test/rrr/position.test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# you may not use this file except in compliance with the License.
55
# You may obtain a copy of the License at
66
#
7-
# http:#www.apache.org/licenses/LICENSE-2.0
7+
# http://www.apache.org/licenses/LICENSE-2.0
88
#
99
# Unless required by applicable law or agreed to in writing, software
1010
# distributed under the License is distributed on an "AS IS" BASIS,

joint_state_topic_hardware_interface/test/rrr/rrr.launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# you may not use this file except in compliance with the License.
55
# You may obtain a copy of the License at
66
#
7-
# http:#www.apache.org/licenses/LICENSE-2.0
7+
# http://www.apache.org/licenses/LICENSE-2.0
88
#
99
# Unless required by applicable law or agreed to in writing, software
1010
# distributed under the License is distributed on an "AS IS" BASIS,

0 commit comments

Comments
 (0)